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

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

Explorer ,
Apr 30, 2008 Apr 30, 2008

Copy link to clipboard

Copied

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

Views

371

Translate

Translate

Report

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

Votes

Translate

Translate
LEGEND ,
Apr 30, 2008 Apr 30, 2008

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

Thanks Ian. Do you mind sharing how that's done?

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

LATEST
Use the mask attribute of cfinput

Votes

Translate

Translate

Report

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
Documentation