The regular expression in the example is wrong. Try this instead
If that doesn’t work, try it with double backslashes i.e.
The eform attributes
are described in the documentation under the heading "Datatypes and formatting" in eform/docs/eform.htm. Here’s waht it says:
Datatypes and formatting
eForm is incorporating a form parser which extracts formatting and validation options from each form field. To set options for a field add the
eform (pseudo) attribute to each required form field.
<input type="text" name="color" eform="A Color:string:1" />
The basic format of the eform attribute is:
[description/title]:[datatype]:[required]:[validation message]:[validation rule]
Default validation (and other) messages are set in a language files which you can find in the eform/lang/ directory. At the moment only the english language file is distributed with eform. You can easily create a new language file and use that by adding the ’&language’ parameter to the snippet call - for instance if you created a spanish.inc.php langage file you would add:
[!eForm? &language=`spanish` ...!]
What language are you after?
Hope this helps..