Radio buttons to set Text Field Variable in PDF Form

Apr 23, 2020

Copy link to clipboard

Copied

Currently writing a form to change the value of a text field based on the radio button selected.  The form im making has to do with "Normal Hours , Extended Hours and Holiday Hours".  So when a tech is filling out the form he selects which set of hours he is in and the form auto fills the $ amount associated with that timeframe.  So if he selects normal hours it shows a $ amount and changes if he selects a different radio button. My radio button group name is "Hours" and the field I need changed is "A01 Unit Price" I would like to do a custom calculation within the text field itself since I have 60+ field that I will need to add 3 unique variables to. Not sure the best way to accomplish this and any help or ideas would be appreciated! 

TOPICS
Acrobat SDK and JavaScript, PDF forms

Views

62

Likes

Translate

Translate

Report

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

Radio buttons to set Text Field Variable in PDF Form

Apr 23, 2020

Copy link to clipboard

Copied

Currently writing a form to change the value of a text field based on the radio button selected.  The form im making has to do with "Normal Hours , Extended Hours and Holiday Hours".  So when a tech is filling out the form he selects which set of hours he is in and the form auto fills the $ amount associated with that timeframe.  So if he selects normal hours it shows a $ amount and changes if he selects a different radio button. My radio button group name is "Hours" and the field I need changed is "A01 Unit Price" I would like to do a custom calculation within the text field itself since I have 60+ field that I will need to add 3 unique variables to. Not sure the best way to accomplish this and any help or ideas would be appreciated! 

TOPICS
Acrobat SDK and JavaScript, PDF forms

Views

63

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Apr 23, 2020 0
Apr 27, 2020

Copy link to clipboard

Copied

Use a simple calculation in the unit price field. Just set the calcualtion to get the value of the radio button field. 

Set the export values of the radio buttons to $amount.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 27, 2020 0