Drop Down Field Type

Drop Down” field type allows to create drop-down (select) element and multiple select based of field settings. This field has following list of additional options for configuration:

WCP Contact Form :: Settings :: Form Tab :: Drop Down Field Type :: General View

Option Description Values
Display Label allows to define group label that will be displayed on the site frontend for visitors at the top of the group of the radio buttons any text value
Placeholder allows to specify default choose, i.e. “Select Something” inside the field. This value won’t be submitted if field is required and doesn’t allow to submit empty values. any text value, for example “Select Something”
Field Key allows to get unique field key that can be used for different development purposes read-only autogenerated value
CSS Class allows to specify CSS class name that will be added to the field wrapper block and can be used for different development purposes any text value (several class names should be separated by space)
Choises allows to select method of getting dataset for select/multiselect element:
Manual – allows to manually create one or several choose options;
Callback Function (for developers) – option allows to specify PHP callback function that returns dataset array (for developers only)
values from the drop-down list
Description allows to add text note below the field any text value
 

Choises :: Manual Method

WCP Contact Form :: Settings :: Form Tab :: Drop Down Field Type :: Manual View

Manual” method allows to manually create one or several choose options.

Option Description Values
 Allow Multiselect  allows to change drop-down with single choose to multiselect element, that allows to choose multiple values via hold down CNTRL (WIN)/command (MAC) button.  Yes/No
Edit Values allows to show additional field “Values” for each option row Yes/No
Value allows to manually set option values (for developers) any unique text/numeric value for each option
Selected allows to define if option should be selected by default on the site frontend for site visitors Yes/No
Label allows to define option label that will be displayed on the site frontend for visitors at the left side of the checkbox any text value
 

Choises :: Callback Function

WCP Contact Form :: Settings :: Form Tab :: Drop Down Field Type :: Callback View

“Callback Function” (for developers) – option allows to specify PHP callback function that returns dataset array (for developers only)

Option Description Values
Callback allows to specify PHP callback function that returns dataset array PHP callback function

 

Please, leave a feedback about the page. Was this article helpful?

0 0