I’ve been going through the docs. However I have had no luck in creating a disabled option in the form
The field config is as follows::
label: Type of enquiry
placeholder: --select an item --
This should render according to what I read with the ’ – select an item --’ selected and being a disabled option. Thus requiring a user to select an option to make sure the required value is set.
However, when displayed it will always show the first item “nochoice”
Any assistance with this would be greatly appreciated as it seems that the form documentation for simple things like this does not match up with the way the plugin actually operates
I will also add. ID / classes do not work either.
The form is utilised in a modular page.
the output is as follows::
<label class="control-label col-sm-2">
How did you hear about us
<select class="form-control" name="data[heard_from]" required="required">
--select an item --
I’m facing the same problem and wonder if there is a solution or a workaround to deal with it.
For instance, I have a form with a select input and I defined a placeholder. The placeholder is never showed (Firefox), the box always displays the first option available.
Plus, even if this select field is marked as required, if I submit the form without touching this field, the form is submitted successfully but I don’t receive the corresponding value in the email…
Does anyone have an idea?