Optgroup – Required Field
-
Hi,
Is there any way to make an Optgroup Select field a required field?An example of an optgroup field is shown here: https://select2.org/getting-started/basic-usage
It has headings like ‘Alaskan/Hawaiian Time Zones’Is this possible to achieve with your plugin and CF7?. I added the select2 class to a dropdown field and it successfully converts it to a select2 field but I couldn’t see a way of adding optgroup labels. Also, the field needs to be required. Alternatively if it was possible to disable certain options and style those as headings that could also work, as shown in the bottom example here: https://select2.org/options
Any help much appreciated.
- The topic ‘Optgroup – Required Field’ is closed to new replies.