links and validations with other tables

links and validations with other tables

fernandoonedafernandooneda Posts: 1Questions: 0Answers: 0

I'm new to DataTables, I've been working with him for just over a week, but I've learned a lot, the tool is amazing!
I'm creating an Editor screen of invoice that has a code field with the client, but this field needs validation in the onblur event to check when the code is typed if the client exists, if it exists, load the name below in a read-only field, if not, show an error saying that the customer does not exist.
I haven't found any documentation related to this, does this type of function not exist?
Sorry for my bad English

Replies

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

    There are two ways to do this. You can validate on the client-side (the browser) with preSubmit, or on the server, see here and here.

    Colin

This discussion has been closed.