• Resolved IleneS

    (@ilenes)


    I would like to have a drop down arrow as same as the arrow for country and have in the text box field “Select a state” I don’t see that option anywhere.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Form Maker Support

    (@formmakersupport)

    Hi!

    Please note that only US States have that option. Unfortunately, the other countries do not have it.

    Thanks for understanding, have a nice day!

    Thread Starter IleneS

    (@ilenes)

    Ty for your reply. Is there a way to select United States only? I see the documentation and says enter United States and then save – but it doesn’t work. Is there a workaround? Thank you.

    Plugin Contributor Form Maker Support

    (@formmakersupport)

    Hi!

    Please use the below mentioned JS code and set the country field to be the US.
    Then add the code in Form > Form Options > Javascript section.

    // Occurs before the form is loaded
    function before_load() {
    jQuery(‘#{select_country_id}’).val(‘United States’);
    jQuery(‘#{select_country_id}’).trigger(‘change’);
    }

    Please choose your {select_country_id}. In our case it was wdform_7_country2.

    // Occurs before the form is loaded
    function before_load() {
    jQuery(‘#wdform_7_country2’).val(‘United States’);
    jQuery(‘#wdform_7_country2’).trigger(‘change’);
    }
    Please try and provide the feedback.

    Thanks in advance, have a nice day!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Select a state dropdown’ is closed to new replies.