Client Side Validation

Client Side Validation

dontbesorry80dontbesorry80 Posts: 4Questions: 1Answers: 0

When I add the preSubmit code from here:
https://editor.datatables.net/examples/api/clientValidation.html

It always seems to say that it is "inError" the first time I click the submit button. Then the second time it works fine.

Does anyone have any ideas why this is?

Answers

  • allanallan Posts: 63,516Questions: 1Answers: 10,473 Site admin

    It doesn't appear to do that in the link you gave for me, but it is possible there is some difference in the browsers. Does it do it for you?

    If not, can you give me a link to a page that does show the issue please.

    Thanks,
    Allan

  • dontbesorry80dontbesorry80 Posts: 4Questions: 1Answers: 0

    I managed to sort it, but it was a while ago now and I can't remember what I did. It's working now though ;)

This discussion has been closed.