Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Is there a way to Auto add the / while inputting a date into a textfield

Explorer ,
Apr 30, 2008 Apr 30, 2008
For example, if typing a date into a text file, is there a way to automatically add the /'s to the date as it's being typed?
TOPICS
Advanced techniques
400
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Apr 30, 2008 Apr 30, 2008
Use the mask attribute of cfinput
Translate
LEGEND ,
Apr 30, 2008 Apr 30, 2008
Scooby Doobie Doo wrote:
> For example, if typing a date into a text file, is there a way to automatically add the /'s to the date as it's being typed?

Yes
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 30, 2008 Apr 30, 2008
Thanks Ian. Do you mind sharing how that's done?
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 30, 2008 Apr 30, 2008
LATEST
Use the mask attribute of cfinput
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources