Only allowing integers in inputfields
Only allowing integers in inputfields
badbyte
Posts: 33Questions: 7Answers: 0
I have a datatable where I fill it lines containing input fields. And I would like those fiels only to accept numbers (Integers) is there a way that datatables resticts the user from entering anything else than numbers?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Hi @badbyte,
Nope, DataTables just manages the table, what you put in the cells is up to you, and in your case that's the
input
elements. The best bet is to look on SO, there'll be many threads on that, for example here.Cheers,
Colin
Alright thx