Dynamic form data value

  • 21 October 2020
  • 1 reply
  • 28 views

Hi all,

I want to do something like this with the form fields:

  1. The first field is a drop-down with these values: “7-day free trial”, “$10, billed monthly”, “$100, billed annually”
  2. The second field will be a hidden field, but its value will depend on the selection of the first field when it went through CRM:
  • 7-day free trial: 7GP
  • $10, billed monthly: M10
  • $100, billed annually: Y100

Do you know how to do it?

Regards,


1 reply

Userlevel 7
Badge +3

Hey @Ed_Huynh,

Take a look here.

The script that’s shared there would allow you to change the value of your original field/selection. It won’t write the answer to a new hidden field but rather change the value.

If you really need to record the selection in a hidden field, it can be accomplished but you’ll have to be comfortable writing a bit of JS.

Best,
Hristian

Reply