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: How do I get the posted variables from my form
ArkOfTheCovenant
Junior Member

Posts: 5
Registered: 10/6/2005
Member Is Offline
posted on 10/6/2005 at 03:24 AM Reply With Quote
How do I get the posted variables from my form


I'm having trouble getting the posted values from my form because validator uses the onsubmit to call v.exec(). When this happens I don't get my values I posted in the form. Anyone know how to get around this??

Thanks
Ark
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 10/6/2005 at 05:18 AM Reply With Quote

When form data is validated and v.exec() returns true then the form is submitted jus as there is no validation code. If v.exec() return false then form submission is cancelled. Make sure you not just call v.exec() but call it as "return v.exec()"
View User's Profile View All Posts By User U2U Member
ArkOfTheCovenant
Junior Member

Posts: 5
Registered: 10/6/2005
Member Is Offline
posted on 10/6/2005 at 06:10 AM Reply With Quote

Sorry I do actually call onsubmit=return v.exec() but don't see any of my data coming back. I'll go back and recheck my code....
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 10/7/2005 at 06:08 AM Reply With Quote

And make sure to enable javascript errors reporting in your browser.
This will give the idea if something is wrong with the script's config.
View User's Profile View All Posts By User U2U Member
ArkOfTheCovenant
Junior Member

Posts: 5
Registered: 10/6/2005
Member Is Offline
posted on 10/7/2005 at 12:01 PM Reply With Quote

Thanks I got everything working.
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