Hi,
You use "conditions" for this.
Here's the documentation: http://www.tectite.com/fmdoc/creating_forms.php
Welcome to the Tectite Forums! You can download and get support for our free PHP FormMail (form processor) and other free software.
Well, I use the following input fields in my form.
None of these two fields are required, but if one or both are filled out, I want to validate the value. How can I do that?Code:<label for="em">E-mail</label><br /> <input class="form" id="em" name="email" type="text" size="40" /><br /> <label for="tlf">Telefon</label><br /> <input class="form" id="tlf" name="telefon" type="text" size="40" />
Last edited by WolfgangEdenharder; 02-Jul-2007 at 07:40 AM.
Hi,
You use "conditions" for this.
Here's the documentation: http://www.tectite.com/fmdoc/creating_forms.php
Russell Robinson - Author of Tectite FormMail and FormMailDecoder
http://www.tectite.com/
Nice. I'm quite a novice, so please can You direct me to one or more examples showing the use of conditions? Some usefull regular expressions and where to place the different CODE elements?
I need to validate the field 'email', and the field 'telephone' as digits only.
Hi,
You can search the forums for examples of conditions.
You can also subscribe for support and we'll help you write it.
Russell Robinson - Author of Tectite FormMail and FormMailDecoder
http://www.tectite.com/
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks