When a conditional error exists the error message would only display on the Conditionals page. Now it is being displayed on my front page as well as the main form page.

Steps to reproduce

1) Create a new webform
2) Create 2 text fields. Let's call them Foo1 and Foo2
3) Create a "bad" conditional. Example:
* if Foo1 is blank then hide Foo2
* if Foo1 is "test" then show Foo2
4) Save conditions

The conditional error displays:
Conditional error on page 1: More than one conditional hides or shows component "Foo2".

The error message is correct, however it is displaying on my conditionals page, also on my main form page, and again on my homepage.

Comments

ladybug_3777’s picture

FYI,
I think I had my webform promoted to the front page, so that would explain why it was also showing there, since the webform teaser was there too. However, the error never used to show on the main form itself.

Perhaps this is on purpose to show the conditional error on the published form to make it more obvious? Feel free to close if this is new by design.

DanChadwick’s picture

Status: Active » Closed (works as designed)

When it detects conditionals which are impossible, it displays the error both on the conditional page and when the webform client form itself is displayed.

You are correct in your inference about the design objective -- to get you to fix your form before people start using it.

ladybug_3777’s picture

Makes sense! Thanks!