View Categories

How to set the option values for the select fields?

You can set a value for each option in the select fields like Multiple Choice, Dropdown, and Checkbox fields. To do this, follow the steps below.

  • Add the following code to the theme’s functions.php file.
add_filter('everest_forms_fields_show_options_setting', '__return_true');
Wanna know how to add this code on your site?
  • Go to Form Builder and add any select fields as per your requirement. Here, you will see the Multiple Choice field.
  • In the Advanced Options of this field, enable ‘Show Values‘.
  • In the Choices section, set the values for each of the available options.
  • Click on Save.
  • Preview the form and inspect the option to check if the correct value is set or not.

Powered by BetterDocs

Scroll to top