Results 1 to 7 of 7
  1. #1
    New Lounger
    Join Date
    Mar 2004
    Location
    Gloucestershire, England
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Auto-filling a Form Field (Frontpage 2000)

    I am trying to create a hyperlink to a form page in a FrontPage web that will automatically enter a number into a field called "FeedbackRef"
    The idea is that the recipient of an email with the hyperlink in it will click on the hyperlink, which opens the published Form Page and completes a field, based on a string passed to it in the hyperlink (in a similar way to mailto:fred@a.co.uk?body=88888 would create 88888 in the body of an email.
    Does anyone know of an easy way to do this, or am I expecting too much of my basic skills (which don't stretch far enough to know who to deal with CGI scripts!)?

    Thanks

  2. #2
    Super Moderator WebGenii's Avatar
    Join Date
    Jan 2001
    Location
    Redcliff, Alberta, Canada
    Posts
    4,066
    Thanks
    2
    Thanked 5 Times in 5 Posts

    Re: Auto-filling a Form Field (Frontpage 2000)

    You can assign a default value to a field. I haven't done the other and don't know if it is doable in HTML. Perhaps someone else has.
    [b]Catharine Richardson (WebGenii)
    WebGenii Home Page
    Moderator: Spreadsheets, Other MS Apps, Presentation Apps, Visual Basic for Apps, Windows Mobile

  3. #3
    New Lounger
    Join Date
    Mar 2004
    Location
    Gloucestershire, England
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Auto-filling a Form Field (Frontpage 2000)

    I'm quite glad it's not just me being thick ... I've tried all sorts and cannot seem to get it to work in the way I need. Perhaps it's not possible [img]/forums/images/smilies/ohmy.gif[/img](

  4. #4
    4 Star Lounger
    Join Date
    Aug 2002
    Location
    Dallas, Texas, USA
    Posts
    594
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Auto-filling a Form Field (Frontpage 2000)

    Let's say you had this as the URL: http://www.somesite.com/SomePage.asp?SomeValue=12345

    In somepage.asp, in the HTML, you would need something like this:

    <input type=textbox name="SomeValue" Value="<%=request.QueryString("SomeValue")%>">

    Hope that helps.

  5. #5
    Super Moderator WebGenii's Avatar
    Join Date
    Jan 2001
    Location
    Redcliff, Alberta, Canada
    Posts
    4,066
    Thanks
    2
    Thanked 5 Times in 5 Posts

    Re: Auto-filling a Form Field (Frontpage 2000)

    Thanks Drew - I'm gonna add that to my bag of tricks!
    [b]Catharine Richardson (WebGenii)
    WebGenii Home Page
    Moderator: Spreadsheets, Other MS Apps, Presentation Apps, Visual Basic for Apps, Windows Mobile

  6. #6
    New Lounger
    Join Date
    Mar 2004
    Location
    Gloucestershire, England
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Auto-filling a Form Field (Frontpage 2000)

    Thanks Drew,

    I'll give that a go!

  7. #7
    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: Auto-filling a Form Field (Frontpage 2000)

    If you are not using an ASP page and you want to use client-side scripting to do it (i.e., JavaScript), I think we've had a couple threads on that over on the Web Development board. But ASP or other server-side scripting is more reliable because the user can't turn it off.

Posting Permissions

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