Copy link to clipboard
Copied
Hi! I need help creating a form in adobe Pro Dc. I want to creat a Dropdown List and when the final user select one option in other field will show up a text not editable. For example: If you choose a Country in other field automatically appear the zip code of the country that you chosen. I´ll appreciate your help! I´ve been searching a lot about this function but I can´t find anything.
Copy link to clipboard
Copied
In case you didn't get it, here's what I wrote:
You entered the wrong field name in the script... You wrote "Dropdown7" instead of "Dropdown19".
Also, I would recommend to tick the option to commit the selected value immediately, under the drop-down's Properties, Options tab.
Do both things and then try it again.
Copy link to clipboard
Copied
Apply the zip-code as the export value of each item in the drop-down field, and then use this code as the calculation script of the text field:
event.value = this.getField("Name of drop down field").valueAsString;
Copy link to clipboard
Copied
Thanks!!! In wich one calculation script? Calculation, validation or accions/ run java script.
Copy link to clipboard
Copied
At calculation.
Copy link to clipboard
Copied
There´re two options in calculation. In wich one is it?

Copy link to clipboard
Copied
The last is for Javascript code.
Copy link to clipboard
Copied
It doesn´t work.
Copy link to clipboard
Copied
Care to elaborate?
Copy link to clipboard
Copied
Thanks for your help. I did all the instructions that you tellme but It doesn´t work.
When the final user will select a option from the dropdown list I want that the export value of each dropdown list option will appear in another text field not editable. So, with the script that you sendme it doesn´t recognize wich value export have to in show up in the other text field.
If you know how can I do please help me!
Thanks!
Copy link to clipboard
Copied
I will need to see the actual file to be able to help you further.
You can share it with us via Dropbox, Google Drive, Adobe Send & Track, etc.
Copy link to clipboard
Copied
Hello!! Did you received my email?
Copy link to clipboard
Copied
Yes, and I've replied to it...
Copy link to clipboard
Copied
In case you didn't get it, here's what I wrote:
You entered the wrong field name in the script... You wrote "Dropdown7" instead of "Dropdown19".
Also, I would recommend to tick the option to commit the selected value immediately, under the drop-down's Properties, Options tab.
Do both things and then try it again.
Copy link to clipboard
Copied
Thankyou very much!!! I appreciate all your friendly help. It works!!!! ![]()
If by chance you know how to place a picker calendar I would really appreciate it if you can help me. I already tried downloading the
toolbar for acrobat dc, but when I choose the calendar it is missing the type of calendar that I want to choose.
Copy link to clipboard
Copied
You don't need any third-party plugins. Simply set the field's Format to Date.
Copy link to clipboard
Copied
I already changed the format to date, but when you open the document in acrobat reader it doesn´t work.
Acrobat DC:
Acrobat Reader XI:
Copy link to clipboard
Copied
Use Acrobat Reader DC. The feature is not available in version XI.
Copy link to clipboard
Copied
I see this has been since 2007 *but* I wanted to share that now when we develop forms through Adobe Pro DC and share them in GOOGLE Drive, Cloud, Sharepoint, any shared software, the formulas do not work correctly. However, if we send them in a MS Email (not Gmail synced to Google Drive) with the .pdf file attached and "save as" to their hard drive, then the user retrieves file from their hard drive, then the entire file works fine with the calculations. We have run into this for the last year or so - and once we requested for outside users not to use the Cloud, Google, any shared software, etc. it corrected the problem. Is anyone else having these problems? We have resolved this issue through our requests of saving the pdf file that we send through MS Office email to their hard drive only. Any calculated form developed through Adobe Pro DC is doing this on all our forms now. In June 2025, we sent the pdf calculated file to users GMAIL email account and if that user is synced to their GOOGLE Drive, the form calculations do not work either. We resolved that issue with asking users to download MS Office email then we sent the calculated form .pdf file to their MS Office email account, saved on their hard drive, then retrieved from their hard drive and it worked fine. Started in 2022-23 and issues have continued to present. Anyone else having these issues? Thank you.
Copy link to clipboard
Copied
Hi @jmMDRS,
Hope you are doing well. Thanks for writing in!
From the description, it seems that there is an issue with how Google Drive saves the PDF file in its storage.
If the file comes out fine when opened through Email, it removes Acrobat from the contention list of issues.
The render engine of Acrobat is different from what Google Drive uses, and errors could occur when scripts or formulas are used.
Hope this clarifies your point.
Regards,
Souvik.
Copy link to clipboard
Copied
Hi, I am trying a similar code. Issue:when I select productRow1, it overwrites description in ProductDescriptionRow2.
ProductRow1 should populate description in ProductDescriptionRow1 and CostRow1
ProductRow2 should populate description in ProductDescriptionRow2 and CostRow2
{var VarDescrip = { AB5645_Q25: {FullDescription: "6 Part Quantity 25", Cost: "6.00" }, AB5650: {FullDescription: "4 Part Quantity 50", Cost: "8.00"}
}};
function SetFieldValues(ProductRow1) {
// Populate fields with values from the Description Data Object
this.getField("ProductDescriptionRow1").value = VarDescrip[ProductRow1].FullDescription;
this.getField("CostRow1").value = VarDescrip[ProductRow1].Cost;
}
function SetFieldValues(ProductRow2) {
// Populate fields with values from the Description Data Object
this.getField("ProductDescriptionRow2").value = VarDescrip[ProductRow2].FullDescription;
this.getField("CostRow2").value = VarDescrip[ProductRow2].Cost;
}
All properties of the 2 dropdowns ProductRow1 and ProductRow2 and the corresponding Description and Cost fileds are the same.
Dropdown Custom Keystroke Script
//SetFieldValues()
if( event.willCommit ) {
if(event.value == " ") this.resetForm(["ProductDescriptionRow1", "CostRow1"]); else SetFieldValues(event.value);
}
Commit selected value immediately - Checked
Thank you very much in advance.
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more