#40 new
Alpinweis

validate with mask

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

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.

No comments found

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A framework for web testing.

Shared Ticket Bins

People watching this ticket

Tags

Pages