Skip to main content
shaner70228647
Participant
December 1, 2017
Question

I would like for a field to fill with a certain number in response to another field being filled with a certain text as follows:

  • December 1, 2017
  • 1 reply
  • 205 views

when the Chemical Name field is chosen from a drop down the index field would fill with the correct Index number for that chemical. How could this be done? I'm a newbie so explain where and how to make this work on the PDF form.

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
December 1, 2017

Set the index number as the export value of each item in your drop-down and then you would be able to use a simple calculation script to populate the text field with it. The script would be:

event.value = this.getField("Chemical Name").value;