Validate Fields in Inline Editor, one

Validate Fields in Inline Editor, one

shanmugasundharamshanmugasundharam Posts: 5Questions: 2Answers: 0

As of now I am validating fields when I navigate from the field ( by pressing tab/enter/click ). My editor is configured as below

formOptions : {
inline : {
onBlur : 'submit',

And my validation is happening within below block.

table.editor.on('preSubmit', function(e, o, action) { }.

My need is, I need to validate that two fields( same row) are having related value( based on some validation logic) once I had edited both. Else I need to show error in the both the fields. Kindly give any reference or idea regarding this. Thanks in advance.

Answers

  • shanmugasundharamshanmugasundharam Posts: 5Questions: 2Answers: 0

    Title of my Question is

    Validate 2 Dependent Fields In Inline Editor Only After Editing Both The Fields.

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    Hi @shanmugasundharam ,

    There was another thread on this earlier this week - see here. Short answer, not currently possible,

    Cheers,

    Colin

This discussion has been closed.