1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

URL tag question

Discussion in 'Software Development' started by Dutch7, Oct 16, 2003.

Thread Status:
Not open for further replies.
Advertisement
  1. Dutch7

    Dutch7 Thread Starter

    Joined:
    Jul 4, 2003
    Messages:
    9
    I am trying to set up something for my office... I work in health care and we send a lot of alphanumeric pages to our nurses in the field. We use the SBC web site to send our messages http://paging.acswireless.com/web_sendmsg.html I would like to know if I could put a tag at the end that would automatically fill the "To:" field with the pager number (i.e. 8885555555). This way I can make short cuts with each nurses name and put them in a folder on my desktop. Anyone have any ideas? All help would be appreciated!
     
  2. Shadow2531

    Shadow2531

    Joined:
    Apr 30, 2001
    Messages:
    2,636
    The name of the input form for the To: is "email", so what you are looking for is something like this.

    http://paging.acswireless.com/web_sendmsg.html?email=THENUMBER

    The tag, you are talking about is a "query string".

    The site doesn't use any serverside scripting, so they would have to use javascript.

    Looking at their code, they don't use any javascript to do what you want.

    So you have 2 options.

    Get them to add the javascript to accept the query string your want and change the value of the TO: input or make your own webpage with the form in it and create your own links that change the to value.

    Then you should be able to load the page with the form, from your hard drive and submit.

    You shouldn't have any problem submitting remotely since I don't think they have any kind of checks for that.

    All you can do is try it and let us know.

    http://home.tbbs.net/shadow/tsgforums/sbc.html

    Try that form and see if it actually sends a message to someone. "Don't worry about the page being blank after you submit.

    Again, this might not work, but it should still give you an idea of what you can do.

    I think it will work though.

    Just view source of the page to see I did it.

    You should be able to create as many links as you need.
     
  3. Dutch7

    Dutch7 Thread Starter

    Joined:
    Jul 4, 2003
    Messages:
    9
    Thanks a lot Shadow, I don't know anything about Javascript, but I will play around with it and see if I can put up a web page for my office!!! I really do apreciate all the help!!!
     
  4. Shadow2531

    Shadow2531

    Joined:
    Apr 30, 2001
    Messages:
    2,636
    I set up the javascript so when you look at it, you should be able to see how the pattern goes and follow the pattern to make more links.

    If you need a step-by-step explanation, I'm sure we can post it.
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/172433

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice