I designed a form composed by five fieldsets of which, only the first, including the personal data, must be seen by user. At the end of this fieldset there is an option list with three options. Depending on the option selected the proper fielset should be displayed.
I have been using the conditionals to do this and the form is working pretty well along the season. Until the update of the version 7x-4.7. After this update the form goes on working well but an error message is being displayed both as administrator and anonymous. I am wondering why this message and the way to avoid it. Can you, please, help me?

You can inspect it at http://www.aept.org/formularios-arco

Comments

danchadwick’s picture

Status: Active » Fixed

If you log in as an administrator, it will tell you specifically what is wrong with the form, including which component is involved in the problem.

It is likely that you have a circular reference. This means that A depends upon B which depends upon C which depends upon A.

Anything within a fieldset depends upon the fieldset itself. That's because when the fieldset is hidden, all values within it are hidden (and therefore empty).

Webform now triggers a chain of conditionals when an source component in a rule changes. This means, for example, that if one rule hides a fieldset, and a component within that fieldset hides a third component, the third component may be hidden when the first one changed. This fixes problems where conditionals were left in an inconsistent state depending upon the order in which they were triggered.

hulegu’s picture

Thank you, Dan, for quick answer.
This is what webform reports about this issue:
Conditional errors on page 1:

More than one conditional hides or shows component "Ejerce su derecho de Acceso".
More than one conditional hides or shows component "Ejerce su derecho de Rectificación".
More than one conditional hides or shows component "Ejerce su derecho de Cancelación".
More than one conditional hides or shows component "Ejerce su derecho de Oposición".

The condition of this is related to the options list at the end of the first fieldset.
If selection is empty, hide all fieldsets (however, this is not implemented in the form conditions and the real terms are: if empty, hide fieldset1; if empty, hide fieldset2...) and then

If selection is option1, show fieldset1; if selection is option2, show fieldset2...

And it works.

My problem is the message... Or to learn how to do it properly.

danchadwick’s picture

You only need, and can only use one Show/Hide per target component.

For example, if Fieldset A is shown by one conditional, then this means at all times, show fieldset A when the conditions of the conditional rule are TRUE and otherwise hide it.

It sounds like you have two rule -- one to show and one to hide. You only one.

hulegu’s picture

Ok, Dan. Thanks a lot

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.