Hi,
I created a form using 3 tabs (2 for selecting details, one for summation) to estimate the cost of a stay and one to book it if the client agrees with this quote.
I would like to hide by default the last tab and 3 elements (1 display text and 2 textareas) in the summation group, and allow the visitor to clic an element (button, radio button or else) to display these hidden details.
I didn't find how to hide by default the elements and the tab, and be able to display them after the visitor has chose to book.
I actually tried with radio buttons, set a value zero to "No", a value one to "Yes".
I added JS to hide when the value is <1 and display when the value is 1 but it doesn't work, as if the value of the radio button were not recognised.
May I use a calc element to do this?
Thanks!
I created a form using 3 tabs (2 for selecting details, one for summation) to estimate the cost of a stay and one to book it if the client agrees with this quote.
I would like to hide by default the last tab and 3 elements (1 display text and 2 textareas) in the summation group, and allow the visitor to clic an element (button, radio button or else) to display these hidden details.
I didn't find how to hide by default the elements and the tab, and be able to display them after the visitor has chose to book.
I actually tried with radio buttons, set a value zero to "No", a value one to "Yes".
I added JS to hide when the value is <1 and display when the value is 1 but it doesn't work, as if the value of the radio button were not recognised.
May I use a calc element to do this?
Thanks!