I'm having trouble getting the validation to work. I'm using the Advanced wizard editor in ChronoForms version 4 and I have the first six fields marked as required and a list of these fields in an Auto Server Side Validation event, but it allows me to submit blank forms during testing.
Any advice would be appreciated. Thanks.
https://www.foodsafetysummit.com/index.php?option=com_chronoforms&chronoform=Submit_Your_Abstract
Any advice would be appreciated. Thanks.
https://www.foodsafetysummit.com/index.php?option=com_chronoforms&chronoform=Submit_Your_Abstract
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
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
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
Thanks,
Zach
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
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
Hi Zach,
You probably have the Event Loop pointed to the On Submit Event instead of the On Load event.
Bob
You probably have the Event Loop pointed to the On Submit Event instead of the On Load event.
Bob
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
Zach
This topic is locked and no more replies can be posted.
