Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

validate with mask

#40

Enhancement request: would be nice to have Page#validate method use an additional argument - a mask with only the fields to validate against.

Say, I am creating a user and I have a hash with all user parameters, and on a user creation page I need to validate only a couple of fields, then I could pass to the validate method the whole user hash as first argument, and a mask with the fields to validate against, without me having first to remove the fields I dont care validating against from the user hash.

Reported by Alpinweis · December 12th, 2009 @ 07:17 PM

State: new
Milestone: none
Assigned to: Bret Pettichord Bret Pettichord

Activity

No comments yet.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.