Validation inline editing

Validation inline editing

puneet.jayeepuneet.jayee Posts: 18Questions: 8Answers: 0

How can I change the message in the inline editing text box?

See the example - https://editor.datatables.net/examples/inline-editing/simple.html

If we enter non-numeric value in the salary we get a message input it not valid.

How can I remove or customize that message?

Answers

  • colincolin Posts: 15,143Questions: 1Answers: 2,586

    In that example, the validation is done on the server - you can see that if you open the "Server script" below the table. To remove it, just remove the validation rule

    ->validator( Validate::numeric() )
    

    to change it, add a message like the example on this page.

    You can also do client-side validation, as shown in this example.

    Colin

This discussion has been closed.