How can I create an uneditable date formatted (00/00/0000) textfield, which allows user to type only numbers

Numbers allowed in the first offset - 0-3
Numbers allowed in the second offset - 0-9
"/" in the third offset should not be deleted
Numbers allowed in the fourth offset - 0,1
Numbers allowed in the fifth offset - 0-9
"/" in the sixth offset should not be deleted
Number allowed in the seventh offset - 2
Number allowed in the eighth offset - 0
Number allowed in the ninth offset - 0
Numbers allowed in the tenth offset - 6-9

textfield MUST not allow the user to delete both zero and slash(/)

Need Urgent help....


11 Years
Discussion Span
Last Post by happygeek

Hi haidabalaji, welcome to DaniWeb.

This isn't really the right place to be asking tech questions, it's just somewhere to introduce yourself to the DaniWeb community.

Explore the forum categories, find the appropriate place and post your question there (with a little more detail of what language or script you need help with) and you'll get a much better response.

This topic has been dead for over six months. 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.