ChronoEngine Forums
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Div Based Multi-page Forms Validation. (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Div Based Multi-page Forms Validation.
#8114
kwelker (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Div Based Multi-page Forms Validation. 1 Month, 3 Weeks ago Karma: 0  
All,

I read the Suggestions & Hacks: multi-page form thread using a div based solution with interest and then successfully implemented it. The trick is validation should happen as you click "next" on each page for that particular div right? Current for me it's just happening on the last div when I click submit.

Has anyone already figured out how to make that happen for each page/div and can provide the solution before I start trying to figure it out?

Thanks,
Kevin
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#8115
kwelker (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re:Div Based Multi-page Forms Validation. 1 Month, 3 Weeks ago Karma: 0  
I should point out the original thread on div based multi-page forms is here:
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#8126
kwelker (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re:Div Based Multi-page Forms Validation. 1 Month, 3 Weeks ago Karma: 0  
The solution was to call to validate from the next button onclick. The validate code is nicely written to just validate unhidden elements so it works great!

Code:

<input type=button onclick=" if(!valid.validate()) Event.stop(ev) ; collapseElem('mainForm_1') ; expandElem('mainForm_2') ;" class="mainForm" value="Next Page" />
Thanks, Kevin http://www.linkedin.com/in/kevinwelker
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/05/11 12:27 By kwelker. Reason: updated to more clearly state result.
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop


equalheight If you have any questions you can post to our forums and we will be glad to help ASAP

Members Login






Lost Password?
No account yet? Register

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for
goods and services provided by ChronoEngine.com

ChronoForms License

equalheightTo be able to continue working at this component we decided to get a small profit out of it but at the same time don't force everybody to pay in order to use this great component.

 

 From version 1.5 and up a link at the bottom of everyform created will be placed, saying "joomla professional work", the link will be to us here htttp://www.chronoengine.com, its illegal to remove this link from the source code unless you have a license,

so the license is very simply for the same ChronoForms component without a link, thats all!

This License is for 5 different websites ONLY. 

 

 However, in order to allow everybody to still use the component and even get out of this, the link is inside a div with class : chronoform , use this to hide the link by using different colors or whatever if you really can't pay, but of course the link is still exists at your page source.

 

The license is ONLY 25$ can be bought here :

 

Thank you!

 

ChronoEngine.com Team 

Joomla Templates and Joomla Tutorials