Google Groups Home
Help | Sign in
Message from discussion Does regexp make the field reuired?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Rups  
View profile
 More options Mar 27, 3:37 pm
From: Rups <isingl...@madasafish.com>
Date: Thu, 27 Mar 2008 12:37:42 -0700 (PDT)
Local: Thurs, Mar 27 2008 3:37 pm
Subject: Does regexp make the field reuired?
Hello Federico,

Does the use of regexp make that field required?  I have used regexp
on a field that is not required.  If a user wishes to complete the
field I want the regex to operate but not if the user chooses not to
complete that field.  During testing, I found that the regexp produced
an inline prompt to complete the field even though it is the only
validation for that field.

The regexp is:
rules[12]='custom10:* Tu móvil o otro teléfono|regexp|^[0-9,+,(), ,]
{1,}(,[0-9]+){0,}$';

Brgds Rups


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google