Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • EspaƱol
      • FranƧais
      • PortuguĆŖs
  • ę—„ęœ¬čŖžć‚³ćƒŸćƒ„ćƒ‹ćƒ†ć‚£
  • ķ•œźµ­ ģ»¤ė®¤ė‹ˆķ‹°
0

Depending on the respond I need the field to copy into a particular field.

New Here ,
Apr 28, 2017 Apr 28, 2017

Would someone  be able to help me create the code for the following scenario:

I am creating a form where one text field (FUNDRow1) could have a response of either 200, 400 or 500.

If the response typed into FUNDRow1 is 200 I need the number 200 to be copied into the field (SectionEFUNDRow1). If any other number is typed into FUNDRow1 other than 200 I need the SectionEFUNDRow1 to remain blank.

If the response typed into FUNDRow1 is either 400 or 500 I need the response to be copied into a different field (SectionEFUNDRow2). If any other number is typed into FUNDRow1 other than 400 or 500 I need the SectionEFUNDRow2 to remain blank.

TOPICS
Acrobat SDK and JavaScript
305
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 ,
Apr 28, 2017 Apr 28, 2017

When SectionEFUNDRow1 and SectionEFUNDRow2 are blank, do you want them to be editable by the user?

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
New Here ,
Apr 28, 2017 Apr 28, 2017

Yes they can be editable by the user.

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 ,
Apr 28, 2017 Apr 28, 2017

So let's say the user enter something into this field and then went back to one of the FUNDRowX fields and entered something there (not one of the values you want to copy). Should the SectionEFUNDRowX field become blank, or should it keep the value the user entered to it before?

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
New Here ,
May 01, 2017 May 01, 2017
LATEST

For the purpose of this particular form, the scenario you describe would not happen, but if it did, I would want the value the person entered in FUNDRow1 to override anything that was typed into SectionEFUNDRowX field.

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