0

LEt's say there a certain phone number format. If someone types the correct format,it shows ok,if not it shows an error. I have done this but it only checks after user moves to the next textfield (onblur action). is there something like 'onButtonPress' or something

2
Contributors
4
Replies
9
Views
4 Years
Discussion Span
Last Post by radhakrishna.p
1

hai silvercats,

instead of onblur() use onkeyup() or onkeypress() for this requirement

check it once by adding any of the actions to the feild

let me know the status

happy coding

Edited by radhakrishna.p: giving clarity on the solution

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.