Forums

How to make required and validate a drop down list?

ausfiero 22 Jun, 2017
Ok I have a drop down list which I have the required slider selected for. But if you down select anything it selects the first thing on the list and it stays that way.

Example lists I have tried

(first line empty)
1=1
2=2


select=Please select
1=1
2=2

So if someone doesn't elect the 1 or 2 options I want it to give a popup error like other required fields do.

I am sure it is in the validation rules I have to do it but do not know what syntax to use in Chronoforms V6
Max_admin 22 Jun, 2017
Hi ausfiero,

What about this:

=Please select
1=1
2=2
3=3


Best regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
ausfiero 22 Jun, 2017
Yep that worked. But it doesn't give the error message until submit. Is there a way to make it give the message when you click off that field like all the other ones?
This topic is locked and no more replies can be posted.