Copy link to clipboard
Copied
Hi,
I'm trying to make the following to work in my pdf form:
I want to make it possbile for the user to answer a question by simple “yes” or “no” choice by checking checkboxes or radio buttons.
So only one choice is possible but, however, in this case I also want the user to be enabled to undo/zero set the made “yes” or “no” choice.
(I want the user to be enabled to: answer “yes” or “no” by mistake, then undo/zero set the made “yes” or “no”, and instead be enabled to write a more appropriate answer in a adjacent textbox).
The radio buttons does half the job, but still, a made choice can’t be undone/zero set.
How can I do to make this work?
(suppose I need a javascript for this)
Appreciate your help on this.
Best regards,
Dennis
Copy link to clipboard
Copied
You can use checkboxes instead, giving each in the group the same name but different export value.
Copy link to clipboard
Copied
You can use checkboxes instead, giving each in the group the same name but different export value.
Copy link to clipboard
Copied
Thank you George!
It's working and It will be of great use in many cases in my form.
However, in some cases I can't use this method because I have set a javascript that effects those
"yes" or "no" checkboxes. And this javascript uses export values that is the same for both "yes" or "no" checkboxes.
So in order to have this javascript still working, I can't change the export values to be different from each other.
Is there another way to solve this?
Copy link to clipboard
Copied
I got help with fixing the javascript to not use export values on another thread. So now everything is working as intended. Thanks alot for your help George!