Error message

kraadde 15 Jun, 2025

Max 

inside my form I have several fields that are marked "required" and depending on other selections are shown or hidden.

In the case they are hidden, the user are not supposed to see them and therefore remain empty.

Therefore sending the forms throws an error message: "This field is required." 

Is there a way to avoid that?

Max_admin 15 Jun, 2025

Yes, you can add "Disable Validation" to the field's Event Listener if you are using the Listener to hide the field

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
kraadde 15 Jun, 2025

Thanks Max

but what about event switcher field hidden?

Max_admin 17 Jun, 2025
Answer

if the field was not displayed because the Event Switcher blocked it then it will not raise a validation error.

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Post a Reply