Code studio validator and 'bypass required validation' setting

Hi,

I have a put a code studio validator on a fragment and a submit button on the same page, whose ‘bypass required validation’ setting is active, no longer works. Should this be the case ?

Thanks,

Mark

Hi Mark,

I would expect the CS validator to still be able to prevent submission of the form if a value has been input but that value is invalid. Is that not what you observe?

Paul

Hi Paul, thanks for the reply. The CS validator does prevent submission of the form. However, the Submit button, whose ‘bypass required validation’ setting is active, no longer bypasses the validations on the page.

Is this because this setting only bypasses validation set on mandatory / required fields ?

Mark

Hi Mark,

From memory, yes, that is correct.

The setting name is ambiguous but the emphasis is on required.
ie It should allow the form to be submitted to save any valid data input so far, without needing to complete all mandatory fields.
The setting should have no affect on assessing the validity of any value input.

Paul

Thanks Paul. That’s clear now: that setting only bypasses fields which have the ‘required’ setting activated. So, it won’t really work for that page. I have found another solution using fragment callbacks. Thanks for your help.

Mark