Forums

Form submitting although verification failed

goexrois 17 Apr, 2017
Hi, I am having this issue. I made a simple form with one text field and a submit button in order to test this problem. I added the required keyword to the validation tab on the text field configuration tab. When i hit the submit button with no text in the text field the form still submits although it prints the error message and turns red before going to the submit page. The intended behavior would be to not submit the form if any field fails its validation. Can you help me?

Best regards,

Gonzalo.
Max_admin 18 Apr, 2017
Hi Gonzalo,

Do you have the mootools js library loaded on your page ? if yes then it will have to be disabled, either using a setting in the template or by installing a mootools enable/disable plugin.

Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
SPABO 18 Apr, 2017
Should it not be:

empty: This field is required??
Max_admin 19 Apr, 2017
Hi,

required or empty should work fine.

The new update should not have the mootools conflict.

Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
SPABO 19 Apr, 2017
Okay Max
This topic is locked and no more replies can be posted.