Input type = text .. question

Results 1 to 3 of 3

Thread: Input type = text .. question

  1. #1
    Join Date
    Dec 1969
    Posts
    716

    Default Input type = text .. question

    Hey there,<BR><BR>I am currently inputting a date string stored as seperate variables ie dd = theday, mm = themonth and yyyy = theyear. Currently I have got a date-checker which is working fine and rejects bad dates. <BR><BR>What i&#039d like to do is make it so that no more than 2 "characters" can be entered into the day and month textboxes, and a maximum of 4 characters for the year textbox.<BR><BR>Is this possible? If so, how so? ;)<BR><BR>Thanks in advance for any help,<BR><BR>Justin

  2. #2
    ASP_DRUG_DEALER Guest

    Default RE: Input type = text .. question

    &#060;INPUT TYPE="text" NAME="day" SIZE="2" MAXLENGTH="2"&#062;<BR>&#060;INPUT TYPE="text" NAME="month" SIZE="2" MAXLENGTH="2"&#062;<BR>&#060;INPUT TYPE="text" NAME="year" SIZE="4" MAXLENGTH="4"&#062;<BR><BR>Hope this helps.

  3. #3
    Join Date
    Dec 1969
    Posts
    716

    Default RE: Input type = text .. question

    Cheers for the help ASP_DRUG_DEALER - did the trick perfectly =)<BR><BR>Justin

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •