Forums

Validate only for specific text

driv 16 Aug, 2016
Hi,
I have a select box with a number of options, the top option is 'Please Choose'.

The problem I have is that users are submitting the form without choosing.
i.e. When I read the form data, the only info I'm getting is 'Please Choose' as opposed to the data I need.


Is there a way to validate the input so that:
a/ The user is alerted to this fact.
b/ the form won't submit unless they make a valid selection.


Thanks.πŸ™‚
driv 16 Aug, 2016
Ah!
I've spent ages searching on this one and been through the FAQs but it turns out It's part of the basic validation - which recognises the form is still set to 'Please Choose'.

Ah well, a learning experience then....

Sorry, I can't find a way to delete this question.
GreyHead 16 Aug, 2016
Answer
1 Likes
Hi driv,

If you want to set an Empty Option like 'Please Choose' please use the Empty option box in the dropdown element settings.

Bob
driv 17 Aug, 2016
Thank Bob. Now I understand.πŸ™‚
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger