C
CB
Please be warned that I am a Newbie.
Goal:
I have two questions that are set up as radio buttons. When I answer one of
them as Yes, the second question appears. Let's say I answer the second
question and then go back to the first question and change the value to
No.I have it set up so that the second question disappears because the new
answer to the first question is No. I also want it to remove the answer for
the second question.
My form does not feed to an Excel spreadsheet or to a database.
Attempts:
I have tried several things to get this to work. Here are a few.
1. I opened the properties for the first qestion field and I opened the
rules dialog. I added a new action to the rule that runs when the user
selects "No" to the first question. I set the new action to "Set a field's
value", selected the field for question 2 and left the second box blank
before committing my changes. Outcome: Changing the value for the first
question did not erase all values for the second question. Instead, it made
the answer No to the second question.
2. I repeated the same steps in attempt one, but instead of leaving the
second box blank, I put the word blank in the field. Outcome: The same as
attempt one.
3. I repeated the same steps in attempt one, but instead of leaving the
second box blank, I put the phrase string.Empty. Outcome: The same as
attempt one.
Please be aware that I have no experience with the Script Editor. I figure
I can probably do something with the event handler using the Script Editor,
but I am at a loss.
Any advice?
Thanks!
Goal:
I have two questions that are set up as radio buttons. When I answer one of
them as Yes, the second question appears. Let's say I answer the second
question and then go back to the first question and change the value to
No.I have it set up so that the second question disappears because the new
answer to the first question is No. I also want it to remove the answer for
the second question.
My form does not feed to an Excel spreadsheet or to a database.
Attempts:
I have tried several things to get this to work. Here are a few.
1. I opened the properties for the first qestion field and I opened the
rules dialog. I added a new action to the rule that runs when the user
selects "No" to the first question. I set the new action to "Set a field's
value", selected the field for question 2 and left the second box blank
before committing my changes. Outcome: Changing the value for the first
question did not erase all values for the second question. Instead, it made
the answer No to the second question.
2. I repeated the same steps in attempt one, but instead of leaving the
second box blank, I put the word blank in the field. Outcome: The same as
attempt one.
3. I repeated the same steps in attempt one, but instead of leaving the
second box blank, I put the phrase string.Empty. Outcome: The same as
attempt one.
Please be aware that I have no experience with the Script Editor. I figure
I can probably do something with the event handler using the Script Editor,
but I am at a loss.
Any advice?
Thanks!