Hi,
Because the mail_options are separated by comma, you can not list a number of Exclude values by comma.
So, you need to separate them by semicolon:
Code:
<input type="hidden" name="mail_options" value="Exclude=field1;field2;field3">
With the syntax you used, you should have received an alert message that said something like this "Some mail_options settings are undefined", which then listed your field2, field3, etc.
For conditions, you need to specify two delimiter characters at the start:
Code:
<input type="hidden" name="conditions" value=":@TEST@field1~(/d){6}@Field #1 can only contain digits.@">
The first character you specify ":" is the list separator. The second character "@" is the internal separator.
You need the list separator even if you're only providing one condition.
You should have received an alert message with at least one error message with the syntax you used. Did you get such an alert?
Also, for the test you want, here's the correct pattern:
Code:
<input type="hidden" name="conditions" value=":@TEST@num~/\\d{6}/@Field #1 can only contain digits.@">
Let me know how you go. We're planning to write a HOWTO guide for conditions "real soon now"
Bookmarks