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....

:sad:

Recommended Answers

All 4 Replies

Member Avatar for iamthwee

And this needs to be done it what computer language or script?

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.

In that case it looks like you will be wanting to head over to the Software Development section, in particular the Java forums!

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.