Client Side Inline Editing Validation

Client Side Inline Editing Validation

erierierieri Posts: 2Questions: 2Answers: 0

I'm trying to see if I can find an example of client-side validation on inline editing. But all the examples I can find are with a pop-up form. Currently if I try to enter an invalid value in the inline edit it just reverts to it's previous value. Is it possible to validate when inline editing?

Answers

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

    You can do something like this. Here, if the office isn't "Bristol", the inline edit is rejected. You can do something similar for your dates.

    Hope that helps,

    Colin

This discussion has been closed.