Required Validation

Required Validation

mbedukatymbedukaty Posts: 23Questions: 5Answers: 0

Hello everyone,

In the validation part, as i'm using editor.dependent to make some fields appear or not, i would like to make them required only if they are visible. Can someone tell me if it's possible to do so.
Many thanks for your help.

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Answer ✓

    The server-side does "know" if they are visible or not, but you would be able to apply the same logic at the server-side to know if they (for example if field 1 is == 1 then field 2 should be validated, if it is == 3 then field 3 should be validated instead, etc.

    Conditional validation can be applied using server-side events.

    Allan

  • mbedukatymbedukaty Posts: 23Questions: 5Answers: 0

    Thanks Allan for your help !!! very much appreciated.

This discussion has been closed.