ChronoEngine.com homepage

Forums

Please write a review for the extension you are using on the Joomla extensions directory before posting a new question as we are being spammed by many negative reviews.

Thank you for your support!

OnSubmit event does not appear to work

abasel 22 Jul, 2013
I have created the following form the same way as I create all my forms. When I click submit however nothing in the OnSubmit event appears to work i.e. no thank-you message, e-mail or database save takes place. If I put a debug into the OnSubmit this too does not display.

http://www.digitalcitizenship.co.nz/index.php/events

I have no idea where to go from here.
GreyHead 22 Jul, 2013
Hi abasel,

The form is inside <p> tags, this is illegal HTML and will stop the form submitting in some versions of IE. I suggest that you don't use the plug-in for forms like this where there is little or no article content.

Bob
abasel 22 Jul, 2013
Thanks Bob, can't believe I did that.. forgot to encase with div tags so Joomla added the <p>

Since correcting the above issue it still does the same thing. I have also tried testing from the backend ie not via the plugin and it still doesn't work
abasel 22 Jul, 2013
I've put a "Debugger" as the first item in the OnSubmit event but it doesn't display anything.
abasel 22 Jul, 2013
Ok, I'm getting closer it stops working when I put the three top dropdown fields in....
abasel 22 Jul, 2013
Yip... I take the one dropdown out and it all works... almost like the form is getting too long.. which I know it's not
GreyHead 22 Jul, 2013
Hi abasel,

Ah, I see (I've had some coffee now). The first drop-down is called 'event' and the value over-rides the ChronoForms event=submit. Please rename it to e.g. event_x and all should be well.

Bob
abasel 22 Jul, 2013
Awesome.. all good :-)Many thanks
This topic is locked and no more replies can be posted.

2Checkout.com

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