zensstudios
Newbie
Posts: 1
Registered: 9/23/2009
Member Is Offline
|
| posted on 9/23/2009 at 02:16 PM |
|
|
When form is NOT built with tables, but rather CSS <LI>s
Hi, I'm trying to integrate the validator for a form I have.
Here is the error msg, I receive when attempting to submit it:
[ Can not find form field "title" in the form "FormName" ]
Here is wher the discrepency is:
In y our script you have the following:
...
// form fields description structure
var a_fields = {
'title': {
'l': 'Title', // label
...
What exactly is 'Title'?
What would it be in my code (below is a section of my form):
...
<li id="li_1" >
<label class="description" for="element_1">Nom </label>
<span >
<input id="element_1_1" name= "element_1_1" class="element text" maxlength="255" size="8" value=""/>
<label>Prenom</label>
</span> <span>
<input id="element_1_2" name= "element_1_2" class="element text" maxlength="255" size="14" value=""/>
<label>Nom</label>
</span>
<p class="guidelines" id="guide_1"><small>Entrez votre nom</small></p>
</li>
...
Thank you for your help in this matter
|
|
|
|