Validation and Custom JS

Please post your suggestions or any hacks you have made here

Validation and Custom JS

Postby willybfriendly on Thu Dec 27, 2007 2:07 pm

First off, a great add on. Incredible flexibility!!

One suggestion. I have included a custom JS function that mirrors user input data onto a page for printing. Since this script falls before the validation functions, it effectively kills all of the built in validating :-(

At first glance it would appear that simply reversing the flow of JS (validating functions first) and this would not have been a problem.

I am too lazy right now to go hacking the add-on, but I can't imagine that this would be too difficult.
willybfriendly
Fresh Boarder
 
Posts: 1
Joined: Thu Dec 27, 2007 6:57 am

Re:Validation and Custom JS

Postby GreyHead on Thu Dec 27, 2007 6:15 pm

Hi willybfriendly,

Impossible to say much without seeing the script you're trying to use. But, it shouldn't be too difficult to separate the two parts, one way would simply be to use the ChronoForms 'onSubmit after email' box to show the data to the user. Possibly you could redirect this to an index2.php page which displays without the Joomla page framework.

Bob
Bob Janes
info at greyhead.net
ChronoForms Support If you like ChronoForms please vote or post a review at Joomla.org
User avatar
GreyHead
Platinum Boarder
 
Posts: 3248
Joined: Tue May 29, 2007 10:15 pm
Location: Brittany


Return to Suggestions & Hacks

Who is online

Users browsing this forum: No registered users and 1 guest

cron