I hae a form uploaded into a website. The form pulls data based on entries made on an account. All of that is working. The form has to be changed, and certain fields that were text fields are now check marks. I am looking for a way to have the correct check box checked based on the response in a field.
My thinking is leaving the drop down response on the site then having a hidden field that is populated with the text. Based on that text, a certain check box will be checked. So if "Text Box 1" has "Answer 1" in it "Check Box 1" will be checked. If "Text Box 1" Has "Answer 2" in it, "Check Box 2" will be checked and so on and so forth.
This is kind of hard to explain so I hope that was clear.
Adobe Community Professional, Aug 25, 2021Aug 25, 2021
try67 • Adobe Community Professional, Aug 25, 2021Aug 25, 2021
As the custom validation script of "Text Box 1" you can enter something like this: this.getField("Check Box 1").checkThisBox(0, event.value=="Answer 1"); this.getField("Check Box 2").checkThisBox(0, event.value=="Answer 2"); etc.