Results 1 to 3 of 3
  1. #1
    2 Star Lounger
    Join Date
    Apr 2001
    Location
    Chapel Hill, North Carolina, USA
    Posts
    138
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Limiting numerical entry on form (unknown)

    Is there a way to limit the entry in a text box to be numbers only? I started with a web form from Frontpage and have been messing with the HTML.

    Thanks!

    Larry

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Limiting numerical entry on form (unknown)

    If you set validation options for the field, FrontPage will write some JavaScript and insert it into the page. I'm not sure, however, when that code runs. For example, it might let the user enter letters and then only complain when the user exits the textbox. Can you experiment and see what happens? I think validation might be on one of the tabs in the properties dialog... long time since I've used that feature.

  3. #3
    Plutonium Lounger Leif's Avatar
    Join Date
    Dec 2000
    Location
    U.K.
    Posts
    14,010
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Limiting numerical entry on form (unknown)

    Below is a typical example of what you get with FP2002(XP).
    Right click on the Text Box in Normal View and select Form Field Properties - from there you can select Validate and set whatever parameters you wish.
    Attached Images Attached Images
    • File Type: gif x.gif (17.3 KB, 0 views)

Posting Permissions

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