Validate fied with custom javascript code

Validate a form field with custom JavaScript when a specific option is selected.

Overview

The issue occurs when custom JavaScript validation fails to trigger an error message for a particular select field value.
To resolve this, ensure your custom validation script is correctly implemented by following the guidance in the ChronoForms FAQs section for custom validation setup.

Answered
ChronoForms v6
hi hilmata 01 Feb, 2018
Answer
Hello. I'm trying to write a custom validation code in javascript in order to display an error message when selecting the value
'Autre' in my select field. But it doesn't work. Does someone have an idea to resolve my problem? Look at my screenshoots.

Sincerely
Validate fied with custom javascript code image 1

Validate fied with custom javascript code image 2
Max_admin Max_admin 10 Feb, 2018
Hello,

This is marked as "Answered", did you find the solution ? the way to do a custom validtaion is explained in the FAQs section.

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