Forums

dropdown list and events.

creositi 25 Aug, 2014
Hello,
I'm creating a form with a drop down menu.
Depending on what the user selects the form continuous below.
The only problem is that as soon as you open the page of the form, all fields are visible.

I tried to solve the case, but it does not work:
In the field empty option I have written SELECT.
In EVENTS:
SELECTED VALUE -> SELECT
ACTION -> HIDE
FIELD ID -> ID of the field that needs to be hidden

How do I hide all the fields when you open the form?
GreyHead 25 Aug, 2014
Hi Creositi,

Using Action: Hide will just hide the input box, not the label. Use Action: Hide Parent to hide the element plus the label.

If the inputs are still visible then you probably have a JavaScript error on your page; you'll need to check that and debug it.

Bob
creositi 25 Aug, 2014
I need to hide / view of the container, not the label.
In attachment I put the screenshot of the DESIGNER and dell'EVENTS.
GreyHead 25 Aug, 2014
Hi creositi,

You didn't mention a container before :-(

You can hide that on load with a line of CSS in a Load CSS action.

Bob
creositi 25 Aug, 2014
SORRY ....
Ok, I plugged LOAD CSS in On load .... but what I write in it?
GreyHead 26 Aug, 2014
Answer
Hi creositi,

#id_of_the_container {
  display: none;
}
but replace id_of_the_container with the id of the container.

Bob
creositi 26 Aug, 2014
PERFECT!!!!!!!!!
Thank you!
This topic is locked and no more replies can be posted.