since ‎25-09-2018
‎12-02-2021
ana-marija
Level 1
How to refer to Radio button choice javascript + save it
Avatar

ana-marija

ana-marija
- Adobe LiveCycle
Hello, I am facing the following problem: I have a radio button with values 1, 2. I have another fields X and Y that will need to be hidden/shown depending on the choice from the radio button.So what I would like to do is:1. when the form is initiated X and Y fields are not visible (if none of the values are checked yet - which is set by default). For this I used in the initiation field:if (this.isNull = true) {fieldX.presence="hidden"; fieldY.presence="hidden"}; 2. When I select radio button 1,...

Views

93

Likes

0

Replies

0
Re: The form not saving users choices
Avatar

ana-marija

ana-marija
- Adobe LiveCycle
Many thanks MHWinter​, but I already have this option on and it still doesn't save. My problem is the following: for example - there is a radiobutton with b and c options. if the user chooses option b), dropdown menu will be shown with the options b1, b2, b3. if he chooses c, the b dropdown will be hidden and c dropdown with options c1, c2, c3 will be visible). What it happens when I save and reopen is that only the radiobutton choice is remembered but the dropdown shown is the one that i create...

Views

288

Likes

0

Replies

0
The form not saving users choices
Avatar

ana-marija

ana-marija
- Adobe LiveCycle
Hi,I'm kind of new to Adobe Livecycle and programming in general.I have a problem with my form. I have set of choices and depending on users choice, different drop down shows. The form works normally but when I save it and reopen it, the choices are back to default. I guess this is due to initialization event where I put default value (which I want to see only for the first time before the user has made a choice). Can someone explain to me what kind of command and in which event to put it in ord...

Views

828

Likes

0

Replies

3