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
silvercats
10
Junior Poster
Recommended Answers
Jump to Posthai 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
All 4 Replies
radhakrishna.p
29
Posting Whiz in Training
silvercats
10
Junior Poster
silvercats
10
Junior Poster
radhakrishna.p
29
Posting Whiz in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.