SOLVED

Prepopulate By Country

Go to solution
Sapiens
Level 2

Prepopulate By Country

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

Sapiens_0-1653294327066.png

 

and chooses from the values "United States"

the checkbox field will be Checked automatically,

Sapiens_1-1653294375988.png

 

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.

 

1 ACCEPTED SOLUTION

Accepted Solutions
Darshil_Shah1
Level 10 - Community Advisor

Re: Prepopulate By Country

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!

 

View solution in original post

1 REPLY 1
Darshil_Shah1
Level 10 - Community Advisor

Re: Prepopulate By Country

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!