Copy link to clipboard
Copied
In Acrobat, I want to have 1 form that will toggle between 2 languages.
If I choose A, the form is English, if I choose B, the form is in French.
Copy link to clipboard
Copied
Hi.
If relevant, you can use the same form fields for both languages, and then manage layouts/layers/languages only.
Copy link to clipboard
Copied
You need to be more specific. What exactly do you want to "toogle"? The actual static contents of the files? Something related to the form fields? Something else?
Copy link to clipboard
Copied
Thank you.
What I want is to have an English form with a layer. On the layer will be the same form, but in french.
A set of radio buttons will hide/show the language depending on what you selected.
So you have one file. When you open it, it is English, when you select the french button, it hides English and presents French.
Copy link to clipboard
Copied
OK. Set the Radio Button Choice values of your radio-buttons to the same name as your layers and then use this script as the Mouse Up event for both of them:
var ocgs = this.getOCGs();
for (var i in ocgs) {
ocgs.state = (ocgs.name==event.target.value);
}
Copy link to clipboard
Copied
Hi.
If relevant, you can use the same form fields for both languages, and then manage layouts/layers/languages only.