Skip to main content
Alizai
Participating Frequently
August 10, 2023
Answered

Textbox dropdown list problem

  • August 10, 2023
  • 2 replies
  • 402 views

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

 

 

 

This topic has been closed for replies.
Correct answer try67

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.

2 replies

try67
Community Expert
try67Community ExpertCorrect answer
Community Expert
August 10, 2023

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.

Amal.
Legend
August 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