Hello, I've been searching through this group and was unable to find an answer to this, sorry if it has been answered before.
I have a web page that has several forms that allow a user to enter contact information if they have any of the types of contacts(each form inserts data into a different table for its respective contact type). Initially, the user will see several check boxes, which when checked, will display the appropriate form with jQuery. These contacts each have a name,phone,and email field that jQuery will show below them. I want to make the phone number field require a length of exactly 10 digits, but am having trouble getting this to happen for conditional fields. I can't simply set a require=IS_LENGTH(10,10) in my db model because this will not allow the user to submit the form even if they don't need to add contact information (the hidden field will still expect 10 characters even though the user won't see it). Any advice on how to do this would be appreciated. Thanks, Kyle -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

