I'm using Chronoforms v5 for a multi page form.
At the first page I ask the visitor for the personal infiormation.
All fields are set as required.
At the next page they add some extra information and then the can click on the Send button.
Sinds a couple of months I receive emails with all fields are empty.
When I try it myself to submit the form it is not possible, cause the fieldsof the first page are all required.
It seemds a bot can break trough this first security and can 'hit' the submitbutton at the next page.
I have read about the Server validation.
So I have added that to the Setup tab in the On submit.
I added the fieldnames of all required fields of the first page in the Not Empty.
For test I have set one field at the first page to Not required but it is still part of the server validation.
When I test the form I see the error that some fields are empty, but it is possible to hit the Submit button at the next page.
What can I do to fix it?
This exact same thing is happening to me. I am receiving emails of a blank form even when all fields are required. I also cannot duplicate this "blank" form myself.
Looking for a solution.
Adding ServerSide validation is the answer in both cases. To have the validation work you need to have an Event Loop action in the pink On Fail box - otherwise it does nothing useful.
Serverside validation will not prevent the form from submitting - it runs on the server after submission; only client-side validation can do that.
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
Thanks GreyHead for your quick reply.
As I wrote, I did add the Server Validation.
I did not wrote about the loop, but it was added to the form.
You can see what i have done in attachment 1
And I have added the fieldnames as you can see in attachement 2.
This is the form: https://nieuweakker.nl/proefabonnement.html?view=form
For test I have set the field Telefoonnummer as not required.
When I fill all the fields and leave the field Telefoonnummer empty, the next page will be viiible.
That is strange. I hoped the form should stop there with an error message about the empty field.
ChronoForms runs the actions in the order they are in the event so you need the ServerSide validation to be *before* the HTML (render form) action - usually it will be just after any anti-spam Check action.
That solved my issue.
Now I have to wait and see if the empty emails are history
Validation for check boxes doesn't seem to work. Not a big deal and I really don't need server side validation. Will just having the server side validation turned on with out any fields being validated fix the empty fields in the email?
2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for goods and services provided by ChronoEngine.com