Hello,
i've created a 4 pages pdf document. With the LiceCycle Designer i want to change it in a flexible pdf document.
So i create the following structure on Page1:
Messeangaben
Teilnehmer
Anreise
a lot of teftfields...
Hotel
Hotelbuchung
textfield
radio button
unknown
ja
Hotelwunsch
...
the radio button
unknown
ja
the bold radio-button (no value 1, yes value 2) has the following code:
Formular1.Page1.Anreise.Optionsfeldliste.ja::initialize - (JavaScript, client)
// Hotelbuchung ein-/ausblenden
oHelper.setInstanceCount(this.rawValue
, Page1.Hotel.Hotelbuchung.Optionsfeldliste.ja);
If you click "no" Hotel (blue) shall be stood hidden. If you click "yes" the text shall be shown on the same page.
I think i need a variable oHider in the hierarchy. Right? How do i create this?
Thanks in advance for helping me
Views
Replies
Total Likes
I gave "Hotel" the code
Formular1.Page1.Anreise.Hotel::initialize - (JavaScript, client)
var
Page1.Anreise.Hotel.Hotelbuchung.Optionsfeldliste.ja.rawValue;
if
(this.rawValue == 2) {
Hotel.presence
= "visible";
}
else {
Hotel.presence
= "hidden";
}
To create a variable: I work with the German version. There it is called "Skriptobjekt einfügen".
Views
Replies
Total Likes
Although I'm having trouble following you, I don't think you need an extra variable.
Make sure you add an "if" in front of the first line:
if (this.rawValue == 2) {
oh yes, i've forgotten. Thanks!
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies