Link in Zwischenablage kopieren
Kopiert
Link in Zwischenablage kopieren
Kopiert
As 'Mouse UP' action of that checkbox, add this script and change "Text field name" to your actual name of that text field:
this.getField("Text field name").value = event.target.value == "Off" ? "" : "UNCLASSIFIED";
Link in Zwischenablage kopieren
Kopiert
Hi @Jo_Sh
Hope you are doing well. Per the description, I understand that you want to populate a text field with clicks on the check box.
I have found a thread that has a solution similar to your question. Please click the link: Solved: Populate checkbox with a button click - need help wi...
Let me know if this helps.
-Souvik.
Link in Zwischenablage kopieren
Kopiert
As 'Mouse UP' action of that checkbox, add this script and change "Text field name" to your actual name of that text field:
this.getField("Text field name").value = event.target.value == "Off" ? "" : "UNCLASSIFIED";
Link in Zwischenablage kopieren
Kopiert
Thanbks so much! is there a way to lock out the other boxes once one is selected?
Link in Zwischenablage kopieren
Kopiert
Yes, you can set them to read-only, but you will have to use script in each checkbox, and change names for each checkbox, let's say your checkboxes are named "Review Type.0-3" use something like this as Mouse UP action for first checkbox:
this.getField("Review Type.1").readonly = event.target.value == "Off" ? false : true;
this.getField("Review Type.2").readonly = event.target.value == "Off" ? false : true;
this.getField("Review Type.3").readonly = event.target.value == "Off" ? false : true;
Then in second checkbox just change field names like this:
this.getField("Review Type.0").readonly = event.target.value == "Off" ? false : true;
this.getField("Review Type.2").readonly = event.target.value == "Off" ? false : true;
this.getField("Review Type.3").readonly = event.target.value == "Off" ? false : true;
etc... for rest of the checkboxes.
Link in Zwischenablage kopieren
Kopiert
Does this work for Adobe Acrobat Pro?
Link in Zwischenablage kopieren
Kopiert
Yes.
Weitere Inspirationen, Events und Ressourcen finden Sie in der neuen Adobe Community
Jetzt ansehen