Regular Expressions in Form Fields
I'm trying to add a field to the 'Invitation Request' form. The filed needs to meet the regular expression
^(01)[0-9]{9}$
I've tried many times to create the filed using the 'Developer' module but every time I try to fill in the field with a sample number like 01234567890, I receive an error that the string does not meet the regular expression.
any idea what is going on? how to make sure the regular expression works correctly? any area in the code to check?
-
-
- · Scholar
-
·
In reply to LeonidS
- ·
Thanks a lot for your help.
The expression works fine now, however, the whole form does not submit. It returns a client side error '503 Service Unavailable'. When I disable the field, the form works fine. Any idea where I should be looking for debugging? Do I need to add the phone number filed anywhere else beside the 'Invitation Request' form?
-
-
·
LeonidS
-
·
In reply to Scholar
S
- ·
Please provide me your UNA studio access via Messenger, because 503 error may have many possible reasons.
-
·
LeonidS