Forums

Required fields not working

Max_admin 27 Jun, 2012
Hi,

Required server side check will make sure that the fields exist in the post data array, but you should also add them to the "non-empty" list to make sure they are not empty.

Regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
zachashley 28 Jun, 2012
I tried adding the same list of fields to the Not Empty list, but it's still allowing me to send blank forms when I run test submissions.

Thanks,
Zach
GreyHead 28 Jun, 2012
Hi Zach,

Have you set up the On Fail event correctly?

Please see this FAQ

Bob
zachashley 28 Jun, 2012
When I set up an onFail command and submit a blank form, I get this error message:

Fatal error: Allowed memory size of 26214400 bytes exhausted (tried to allocate 40961 bytes) in /var/wwwjoomla/foodsafetysummit.com/components/com_chronoforms/libraries/chronoform.php on line 257

I'm not sure what it's doing that requires that much memory. I wasn't trying to upload any files.

Thanks,
Zach
GreyHead 28 Jun, 2012
Hi Zach,

You probably have the Event Loop pointed to the On Submit Event instead of the On Load event.

Bob
zachashley 28 Jun, 2012
YOu are correct. I was confused because there was an option for "On Submit > Auto Server Side Validation > OnFail. Works now. thanks for your patience.

Zach
This topic is locked and no more replies can be posted.