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.
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!