• Auto-filling a Form Field (Frontpage 2000)

    Home » Forums » Developers, developers, developers » Web design and development » Auto-filling a Form Field (Frontpage 2000)

    Author
    Topic
    #415502

    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

    Viewing 1 reply thread
    Author
    Replies
    • #926950

      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.

      • #927203

        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 (

    • #927874

      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="”>

      Hope that helps.

      • #927898

        Thanks Drew – I’m gonna add that to my bag of tricks!

      • #928372

        Thanks Drew,

        I’ll give that a go!

        • #929410

          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.

    Viewing 1 reply thread
    Reply To: Auto-filling a Form Field (Frontpage 2000)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: