I have been having some odd errors with chronoforms 7.
- I think the validation I have on a form is causing the submit button in the form to not submit, even if the validation passes. But this error only occurs on some of my company's computers. Does anyone know why?
- When a form submits, sometimes it causes a loop somewhere in the server/website that causes the form to submit in a loop every 5 minutes exactly, until the user deletes the browser tab. This occurs even if the user has navigated to another page.
Any help would be appreciated.
- You need to check the browser console, are there any errors when this happens ?
- does your form have any loops or does it call any urls using a redirect or CURL ?
- The console does not show any errors.
- i dont think there are any loops or url calls.
any ideas?
i think your form setup may be wrong, Joomla has a keep alive plugin which will access the url every 5 minutes to keep the session active, so it may be re-opening the form url, but it should not re submit the form, so I think there is a problem with the form setup
Any hints on how I can fix the form setup?
Can you post a screenshot of the form setup or a form backup ? do not forget to clear any personal info
An alternative also is to install the new v8 and import your v7 form there, because the latest v8 has a v7 importer
Sorry for the delay.
Its a very big form. Heres the backup.
I also have a video of me scrolling through the form. You can watch it here https://youtu.be/f4mqt1RGJYA
If you have any solutions for my 2 problems please let me know.
I think problem #2 is caused by the keepalive script which reloads the active page every 5 minutes to keep the session alive, if it can access the form submit then your form submit is accessible directly without submit check, which is a problem, you need to have some security check, a problem which is solved by default in v8
You may adjust the form submit security or import it in v8 and move the items to the correct pages
For the validation issue, I have no idea, I restored the form but it have some permissions check, did you check the browser console for errors ?
I'd rather not switch to version 8, how can I adjust the form submit security?
The console didn't show any errors. This problem is really stumping me.
how can I adjust the form submit security?
You need to add a security field to the page with the problem and check the field result in the submit
You mean recaptcha or the image captcha?
If so, how do I use the image captcha? It shows up on the front end but how do I check that the user clicked to the right choice?
if you have "Auto check security fields" under the form settings tab already enabled then that's it, did you test this ? try to submit the form without the reCaptcha checked, does it raise an error ?
I do have 'Auto check security fields" enabled. The form still submits despite not clicking the correct choice. I believe it is also pertinent to mention that my form also ignores other field validation rules - such as required fields. The form submits despite the required fields being entered. Do you know what would have caused this? Can it be some javascript I added to the page?
there may be a javascript error breaking the validation, why do not you give v8 a try? it's more solid than v7, here is a tutorial on how to build lists with the new v8:
https://www.chronoengine.com/faqs/chronoforms/chronoforms8/create-a-table-list-in-chronoforms8