Hello
Is there server-side validation of user-data in Chronoforms v6?
Since a couple of weeks (and after a ChronoForms upgrade iirc) I get 1 or 2 form submissions a week with empty data stored in the database (except for the 'created' timestamp), although all the fields are required, or even marked as 'Email'. Also after setting a minimum length I keep getting empty records stored in the database.
I tested with multiple browsers and the form doesn't allow me to submit with a single empty field, but that's user-side validation.
Since 1 week, I added the IP address to the data using an override. Now I get empty records with an IP address. (and a 'created' timestamp). Originating from what seems to be a crawler.
The 'Save Data' action is properly nested inside the 'Validate Fields' action in the 'Submit' event.
the 'Data Provider' for the 'Validate Fields' action is set to: {data:}
the 'Model Name' for the 'Save Data' action is set to: data
ps this is for all 3 forms currently active on our website.
ps maybe related: after the update a couple of weeks ago, I found out that forms weren't saving any data any more. After some investigation I found out that I had to change the 'Model name' in the 'Save Data' event from 'DataX' to 'data', with X being the number automatically assigned to the 'Save Data' action name, e.g. if the 'Save Data's' action name was 'save_data8' the Model Name was 'Data8'.
I'm not sure what the Model Name was before the upgrade, but I am sure that the forms were storing their data correctly before the upgrade. Now they again store data correctly, except for the issue above.
off topic: The text field I'm typing this message in has some problems: ctrl+backspace to erase a complete word doesn't work, and pasted text appears at the end of the current paragraph instead of at the cursor. (Firefox v68 on win7x64)
Is there server-side validation of user-data in Chronoforms v6?
Since a couple of weeks (and after a ChronoForms upgrade iirc) I get 1 or 2 form submissions a week with empty data stored in the database (except for the 'created' timestamp), although all the fields are required, or even marked as 'Email'. Also after setting a minimum length I keep getting empty records stored in the database.
I tested with multiple browsers and the form doesn't allow me to submit with a single empty field, but that's user-side validation.
Since 1 week, I added the IP address to the data using an override. Now I get empty records with an IP address. (and a 'created' timestamp). Originating from what seems to be a crawler.
The 'Save Data' action is properly nested inside the 'Validate Fields' action in the 'Submit' event.
the 'Data Provider' for the 'Validate Fields' action is set to: {data:}
the 'Model Name' for the 'Save Data' action is set to: data
ps this is for all 3 forms currently active on our website.
ps maybe related: after the update a couple of weeks ago, I found out that forms weren't saving any data any more. After some investigation I found out that I had to change the 'Model name' in the 'Save Data' event from 'DataX' to 'data', with X being the number automatically assigned to the 'Save Data' action name, e.g. if the 'Save Data's' action name was 'save_data8' the Model Name was 'Data8'.
I'm not sure what the Model Name was before the upgrade, but I am sure that the forms were storing their data correctly before the upgrade. Now they again store data correctly, except for the issue above.
off topic: The text field I'm typing this message in has some problems: ctrl+backspace to erase a complete word doesn't work, and pasted text appears at the end of the current paragraph instead of at the cursor. (Firefox v68 on win7x64)