Copy link to clipboard
Copied
Great Day Experts,
I have a hard issue for me, but it is simple for you all. I am looking to have a dropdown (AWS/AWR) fill a text box (RATING SELECTION). Just that simple. I greatly appreciate your help.
You can either enter the following custom calculation script in the text box:
event.value=this.getField("Dropdown").value;
In this case the user won't be able to change the value of the text box manually because it will always revert to the calculated value. Or you enter the followng validation script in the dropdown:
this.getField("RATING SELECTION").value = event.value;
In this case the user will be able to change the text field value after it is set with the dropdown. In both cases, make sure t
...Copy link to clipboard
Copied
You can either enter the following custom calculation script in the text box:
event.value=this.getField("Dropdown").value;
In this case the user won't be able to change the value of the text box manually because it will always revert to the calculated value. Or you enter the followng validation script in the dropdown:
this.getField("RATING SELECTION").value = event.value;
In this case the user will be able to change the text field value after it is set with the dropdown. In both cases, make sure the "Commit selected value immediately" is checked in the options tab of the dropdown.
Copy link to clipboard
Copied
Thank you very much. These both worked out.
Copy link to clipboard
Copied
You're welcome. This explanation might help:
https://pdfautomationstation.substack.com/p/calculation-vs-validation-scripts