Welcome, Guest

Validation system may not work as documented?
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Validation system may not work as documented?

Validation system may not work as documented? 1 year, 6 months ago #14939

According to this page:

crosstec.de/turn-fields-and-sections-on-...f-conditionally.html

"Validations are disabled for invisible elements"

Does this also mean that validations are disabled for elements inside of invisible sections?

I have sections that are shown or hidden based on what a user selects. Now if the user selects a section some fields in the section that appear are required and set to validate.

The issue is that these fields attempt to validate even though they are inside a hidden section.

I have been working with support for two weeks to try to resolve this, but so far no luck. You guys have any suggestions or workarounds?

Doug

Re: Validation system may not work as documented? 1 year, 5 months ago #16787

so far i have no idea to do this....it has to switch..if a user selects a section, the required fields had to set to validate..if the user selects another section the before activated validations should be set to disabled..but no idea how to do this..

May it would be better to do the validation on your own??

matthias
  • goshmac
  • OFFLINE
  • Expert Boarder
  • Posts: 114
  • Karma: 5
Last Edit: 1 year, 5 months ago by goshmac.

Re: Validation system may not work as documented? 1 year ago #24105

I have this problem too. The only workaround I see is to make invisible each element individually...
  • darkheart
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
  • Karma: 0

Re: Validation system may not work as documented? 10 months, 3 weeks ago #32799

Hi there,

I have a similar issue that validation of fields are still active and triggered, even if the section where the elements are in is turned off by a visibility rule.

The visibility rule applies to a radio button, which switches two sections.
turn on section section1 if radio is 1
turn off section section1 if radio is 2
turn on section section2 if radio is 2
turn off section section2 if radio is 1


Both sections are turned off by default.

When I fill in the form validation works fine and when I choose radio value 1 section1 is shown, section2 stays hidden, and on submit the validation of section2 is not applied.

So far so good, but...
When I go back to the form with the parameter "Submission editable by user" enabled in the menu item, it shows that radio is set to value 1, but section1 is not visible and elements in section2 will fail validation when I press submit.
I will have to choose and click on the radio element again to let the visibility rules apply and the corresponding validation accordingly.

Despite the showing of the correct value of the radio button, the visibility rules have not been applied but the validation of the invisible elements will be triggered for both sections (which should not apply at all because both sections are turned off. So actually there are two functional errors at the same time).

I believe the cause of this has to be searched in the visibility rules more than in the validation, but who am I... A solution of any kind would be very much appreciated!

Thanks.
  • dtiernego
  • OFFLINE
  • Fresh Boarder
  • Posts: 13
  • Karma: 0
  • Page:
  • 1
Moderators: TheMuffinMan, ForumSupport
Time to create page: 0.93 seconds

About

Crosstec GmbH & Co. KG

Bergisch-Gladbacher-Str. 829

51069 Cologne, Germany