javascript issue with a multipage form

blackjack1

New Member
Hi,
I have build a form, which have 5 groups:
1. group is on page 1
2. group is on page 2
3. group is on page 3
4. and 5. group are on page 4

On the last element(question) of 1. group(aswers = 1 or 2) I have a javascript:
action "unload" group 3 when this = 1
action "load" group 3 when this = 2

When on the last question of the first page I select "1" everething is ok. I fill the second and the fourth page(the third is not showing and this is ok). When on fourth page I press the "Save" button there goes the message "Some parts of your form are not filled corectly" and when I press the "Previous" button the form goes on page 3, that should be unloaded. Cannot save the form before page 3 is filled in?!?!

Please if anyone can help me with this problem! Where am I wrong?
 
Problem solved:
1. On the last element(question) of 1. group:
Action ''change'' or hide group 3 when ==1
Action ''change'' or show group 3 when ==2

2.In all elements having a validation 'not empty' in the 3.group I set in Condition this code:
return '{listname__elementname}'==2
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top