Compare 2 textbox
Compare 2 textbox
xain819
Posts: 15Questions: 4Answers: 1
Good Day to everyone.
so yea im using datatables with editor
what i want to do is when i create new user using the editor
i want to compare the two textbox which is the password field
(your typical registration)
{
"label": "Password:",
"name": "user.Password",
"type:" "password"
}, {
"label": "Confirm Password:",
"name": "repassword",
"type:" "password"
}
so the confirm password is only an extra textbox just to check if they match
now how can i do that in the Editor?
where if true only the 1st field will be inserted..
newbiee here.. :(
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
This assumes that you already know what to do after comparing the two password fields, i.e. knowing how to save password into the database which includes encryption.