I have an enrollment form, with an email template and some java validation. But for some reason it isn`t sending any emails or adding the data into the database...
I`m rally stuck, I can`t find anything wrong!
:( [file name=Enrollment.cfbak size=18141]http://www.chronoengine.com/components/com_fireboard/uploaded/files/Enrollment.cfbak[/file]
Hi james_sgp,
I can't see anything obviously wrong but I bot 404 errors on submission until I removed both the date fields and the select box (I'm not sure which one caused the problem though). I did notice that the select box seems to have a reset button that might cause a conflict.
I suggest that you turn debug on, comment out most of your form then go through adding back one field at a time until it shows and Email sent result.
Bob
Bob,
I was full of hope after reading your message. I removed the date pickers and just put plain text boxes, but I still get the same problem?
James
Hi James,
If you take the select box out what happens?
Bob
The same thing, when I submit the form I get a page saying:
The page you are trying to access does not exist.
Please select a page from the main menu.
And do not get any email sent or data written into the database.
Bob,
Figured it out...the form is now working properly. It was all down to the name of my selection box, I`d designed it in Dreamweaver and called it 'option' everything was fine. But Joomla didn`t like it, I assume as it was using it as another variable.
Thanks for your support.
James
And another user used another reserved joomla variable 'task', I think I will add some check for reserved fields names, thanks for letting us know🙂
Cheers
MAx
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Hi James,
Cool - I didn't spot that, one more thing to look out for.
Bob