Skip to main content
Participant
April 28, 2017
Question

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

  • April 28, 2017
  • 2 replies
  • 350 views

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.

This topic has been closed for replies.

2 replies

Participant
May 1, 2017

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.

try67
Community Expert
Community Expert
April 28, 2017

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

Participant
April 28, 2017

Yes they can be editable by the user.

try67
Community Expert
Community Expert
April 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?