Results 1 to 3 of 3

Thread: Is it possible to call a page based on a string in a text entry box?

  1. #1
    Join Date
    Sep 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Is it possible to call a page based on a string in a text entry box?

    In creating an emulator for work, short of using a database driven environment, how can I have a specific page called based on user input of a particular ID number, in this case, either a phone number or name? The initial search screen will be an image with several text entry fields, any of which will call the next page. I'll be pointing to one of multiple directories, each of which will contain all related pages for said account.
    Thanks all.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Your question seems vague to me. It is possible to have a text box and have the user's input to that text box link to and display a given page, yes. But, not using just HTML alone, which is the forum you chose to post your question in. For the kind of thing you seem to be talking about, this would best be done server side. Javascript could accomplish this client side but, then the code would be available for inspection by users, some of whom would then be able to gain access to pages not meant for them. Depending upon the situation, this could cause many problems. If that would not compromise security, it is more efficient but, should still have a server side fall back for clients without javascript enabled.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Sep 2005
    Location
    Connecticut
    Posts
    66
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    You could create a JavaScript prompt, although i cant quite understand what you mean.

Bookmarks

Posting Permissions

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