Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: error - not finding title in form
nodster
Junior Member

Posts: 4
Registered: 6/14/2007
Member Is Offline
posted on 6/14/2007 at 10:45 AM
error - not finding title in form


i am using the following call parameters on my form:

Code:
'name':{'l':'Name','r':true,'f':'alpha','t':'name'},
'address':{'l':'Address','r':true,'t':'address'},
'town':{'l':'Town','r':true,'f':'alpha','t':'town'},
'postcode':{'l':'Post Code','r':true,'f':'unsigned','t':'postcode'},
'evening':{'l':'Evening Telephone Number','r':true,'f':'phone','t':'evening'},
'mobile':{'l':'Mobile Telephone Number','r':true,'f':'phone','t':'mobile'},
'email':{'l':'E-mail','r':true,'f':'email','t':'email'},
'textArea':{'l':'Your Question','r':true,'t':'textArea'}
}
var tfv = new validator('phoenixForm', o_fields, {'alert' : 1});


How could i be getting the following error:

Quote:
Can not find form field 'title' in the form 'phoenixForm'


but i dont have a input field 'title' anywhere on my form?

strange
View User's Profile View All Posts By User U2U Member
tigra
Administrator

Posts: 2049
Registered: 6/17/2002
Location: US, CO
Member Is Offline
posted on 6/14/2007 at 03:30 PM

I don't see 'title' in your validator config too. It may be one of those "look at one file, edit another" cases. If you can't find it then give the URL of the form or attach it in the zip package.
View User's Profile View All Posts By User U2U Member
nodster
Junior Member

Posts: 4
Registered: 6/14/2007
Member Is Offline
posted on 6/14/2007 at 04:32 PM

I found the reason why, it was as you said an error in following the docs and what fields i had.

However now that i have amended it the script no longer works...

Could you look at the attached files and tell me where i've gone wrong.

Many thanks
View User's Profile View All Posts By User U2U Member
tigra
Administrator

Posts: 2049
Registered: 6/17/2002
Location: US, CO
Member Is Offline
posted on 6/14/2007 at 07:04 PM

you refer to tfv in onsubmit but you initialize variable v
if fix that and the path to validator.js is correct you'll get the descriptive error messages from the validator itself.
View User's Profile View All Posts By User U2U Member
nodster
Junior Member

Posts: 4
Registered: 6/14/2007
Member Is Offline
posted on 6/14/2007 at 07:43 PM

Excellent thanks very much

Such a simple thing, should've noticed it.

Also thanks for the speedy reply!!
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page Product Page
Product Demonstrations Product Demos
Registration Form Validation
Login Form Validation
Free Download Free Download
Product Documentation Documentation
Documenation Page
Change Log
Validators Comparison Table
Support Forum Support Forum
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004