Forums

Hide a Container on load the Form

Carmwen 09 Oct, 2014
hello

i am new and my english is bad. sorry.

i make a form and i want a container not showing when load the side/form.
i want the container loadet when the user klick in a checkbox.

exempla. the user fill out the adressblcock.
in the checkbox is: you want file out one more adress then klick here.

what is the code for hide the container on load the side?

i have make:
<div id="chronoform-container-12" class="chronoform-container" style="display: none;">

not work🙂

greetings from switzerland
Guido
GreyHead 10 Oct, 2014
Answer
Hi Guido,

The simplest way to hide the container is probably to use JavaScript in a Load JavaScript action in the form ON Load event. Something like this should do it.
jQuery(document).ready(function (jQ) {
  jQ('#chronoform-container-12').hide();
});
Note: that this won't work if the Container is of Type None!

Bob
Carmwen 10 Oct, 2014
Hi

cool. it works.

very very thanks.

Guido
This topic is locked and no more replies can be posted.