Prepopulate By Country | Community
Skip to main content
New Participant
May 23, 2022
Solved

Prepopulate By Country

  • May 23, 2022
  • 1 reply
  • 1373 views

Hi all,

 

We want to create a form that will mark a specific checkbox field according to the value of the the Country Field.

For example:

If a user arrives to the form

 

and chooses from the values "United States"

the checkbox field will be Checked automatically,

 

Is there a way to check it according to his response in the Country field or any other way by tracking "Inferred Country"?

 

Thank you.

 

Best answer by Darshil_Shah1

You should refer Sandy's MktoForms2 :: Auto-cascade select → checkbox codepen. It'll populate the targetField check-box based on the values you define for the sourceField in the rules variable. Let us know if you've any questions!

 

1 reply

Darshil_Shah1
Darshil_Shah1Accepted solution
Community Manager
May 23, 2022

You should refer Sandy's MktoForms2 :: Auto-cascade select → checkbox codepen. It'll populate the targetField check-box based on the values you define for the sourceField in the rules variable. Let us know if you've any questions!