Copy link to clipboard
Copied
I am currently working on an account form.
I have one drop down called Options with selections "Add" , "Transfer", and "Existing".
I have two separate text fields "Add" and "Transfer".
For the "Add" selection, I want "Add" field to show only.
for the "Transfer" selection, I only want "Transfer" to show.
I used script for Transfer field and it works.
Copy link to clipboard
Copied
Is your choice "Add" or "Add Funds"?
Use this as calculate script of dropdown:
this.getField("Add").display = (event.value == "Add") ? display.visible : display.hidden;
this.getField("Transfer").display = (event.value == "Transfer") ? display.visible : display.hidden;
Copy link to clipboard
Copied
Is your choice "Add" or "Add Funds"?
Use this as calculate script of dropdown:
this.getField("Add").display = (event.value == "Add") ? display.visible : display.hidden;
this.getField("Transfer").display = (event.value == "Transfer") ? display.visible : display.hidden;
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Just change in my script to correct field names and choices.
Copy link to clipboard
Copied
that worked! thank you so much! you are a lifesaver! 🙂