I am trying to autofill a text field with the results of a checkbox selection.
For example: I have two items (AF2100 or ES300). You select one or the other using a checkbox.
If the person selects AF2100, the Text Field would autofill with AF2100.
I'm new to scripting so I'm not sure how to make this happen.
Have searched site but can't find anything that comes close.
Thanks In Advance
Ty
Views
Replies
Total Likes
I suggest that you make those checkboxes RadioButtons instead. This will give you the mutual exclusivity that you require (selecting only one of the two). In the Object palette you can change the appearance of the radio button to make it look like a checkbox. Now in the hierarchy view the radiobuttons will be under a RadioButtonList object. Click on that object and in the exit event you can write code to populate your field....something like this:
if (this.rawValue == "whatever you set your checked value for AF2100"){
TextField.rawValue = "AF2100"
} else {
TextField.rawValue = "ES3000"
}
paul
Views
Replies
Total Likes
Paul,
I tried your suggestion. I'm obviously doing something wrong. I created a simple form to test the results and it’s not working.
I’m a real amateur when it comes to this.
Ty
Views
Replies
Total Likes
If you want to pursue this Email your form to LiveCycle8@gmail.com and I will have a look at what you have done. Please include a description of your issue in the email.
Paul
Views
Replies
Total Likes