Copy link to clipboard
Copied
I'm new here and fairly new to creating PDF forms. Here is what I am trying to accomplish on my PDF form. I created a Drop Down Menu labeled "procedure" and in the Properties-Options Item section I entered surgery names, and in the Export Value field their corresponding procedure code. My hopes are when selecting their name from the drop down menu it will insert their procedure code in a text field labeled "CPT", that's the function I am trying to figure out. I don't need to have the ability to custom enter text, the export will always be based off the single selection from the drop down menu. Thank you in advance!
It's easily done. As the custom calculation script of the text field enter this:
event.value = this.getField("procedure").valueAsString;
Copy link to clipboard
Copied
It's easily done. As the custom calculation script of the text field enter this:
event.value = this.getField("procedure").valueAsString;
Copy link to clipboard
Copied
Thank you so much!!!!!
Copy link to clipboard
Copied
Code works fine. but
when I select any item from dropdown menu value update to text filed.
When select "average: from dropdown menu value send to text field: 1, if select "good" value sent to text field: 2
but value not update instantly, when mouse click to blank space of form value updated according to dropdown item value. I want to update my text field data instantly, when select dropdown box.
how I will do this?