Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
12

Textbox dropdown list problem

Explorer ,
Aug 10, 2023 Aug 10, 2023

Sir, I have few problems i.e

1. When I calculate mulplication of two values and get the result on a textbox, the textbox still behaves edittable while I want it non-editable. but I dont know how to do it.

2. When I select a value from dropdown list and want the 100% on a textbox automatically like

When I select N/A  then textbox should be empty

when I select 0 then textbox should have a value of 0%

when I select 1 then textbox should have a value of 25%

when I select 2 then textbox should have a value of 50%

when I select 3 then textbox should have a value of 75%

when I select 4 then textbox should have a value of 100%

 

3. I dont want my fillable form be downloaded or be saved but only printable (hardcopy),

please help me out in the above mentioned problems. thanks alot

 

 

 

TOPICS
Comment review and collaborate Experiment , Create PDFs , Edit and convert PDFs , General troubleshooting , How to , Install update and subscribe to Acrobat , JavaScript , PDF , PDF forms , Print and prepress , Standards and accessibility
347
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
1 ACCEPTED SOLUTION
Community Expert ,
Aug 10, 2023 Aug 10, 2023
LATEST

1. Set the field as read-only under the Properties dialog.

2. Set those value as the export values of each item of the dropdown and use a simple calc script to copy it to the text field. Something like:

event.value = this.getField("Dropdown1").value;

3. Not possible.

View solution in original post

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Aug 10, 2023 Aug 10, 2023

Hi there

Hope you are doing well and thanks for reaching out.

The workflow you are trying to achieve might be possible using JavaScript. For more information, please check the help pages listed below:
https://acrobatusers.com/tutorials/javascript_console/
https://helpx.adobe.com/acrobat/using/applying-actions-scripts-pdfs.html

Hope it will help

Regards
Amal

Regards
Amal
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 10, 2023 Aug 10, 2023
LATEST

1. Set the field as read-only under the Properties dialog.

2. Set those value as the export values of each item of the dropdown and use a simple calc script to copy it to the text field. Something like:

event.value = this.getField("Dropdown1").value;

3. Not possible.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines