Front Page html code problems

Sharky Forums


Results 1 to 3 of 3

Thread: Front Page html code problems

  1. #1
    Great White Shark
    Join Date
    Nov 2000
    Posts
    21,595

    Unhappy Front Page html code problems

    Here is a teaser. I'm a newbie when it comes to making a web page and getting it to work.

    The environment is W2k Server and IIS 5. I'm using FrontPage 2000.

    The page has a submit button defined with 4 builtin fields and 3 added fields.
    The problem is that the file record written when the submit button is activated does not contain all the data.

    S-Builtin-fields contains -
    valid ip "10.1.6.2" for REMOTE_NAME, (expecting a name HOST or [email protected])
    nul "" for REMOTE_USER, (expecting a name USER)
    valid date "05 Jan 2001" for Date, (as expected)
    valid time "11:51:33 -0500" for Time, (as expected)

    The form fields I defined contain the symbols for the environment variables rather than the data.

    How do I get data into the form without having the user key it in?

    Any help is greatly appreciated.

    UA

    Here is the generated code -

    <form method="POST" name="f1" action="--WEBBOT-SELF--" onSubmit="">
    <!--webbot bot="SaveResults" startspan U-File="_private/form_results.txt"
    S-Format="TEXT/CSV" S-Label-Fields="TRUE" B-Reverse-Chronology="FALSE"
    S-Date-Format="%d %b %Y" S-Time-Format="%H:%M:%S %Z"
    S-Builtin-Fields="REMOTE_NAME REMOTE_USER Date Time"
    S-Form-Fields="computername logonserver username " -->
    <input TYPE="hidden" NAME="VTI-GROUP" VALUE="0">
    <!--webbot
    bot="SaveResults" endspan --><p align="center"><input type="submit" value="Submit" name="B1"></p>
    <input type="hidden" name="computername" value=%computername%>
    <input type="hidden" name="logonserver" value=%logonserver%>
    <input type="hidden" name="username" value=%username%>
    </form>


  2. #2
    Ex-*** kid A's Avatar
    Join Date
    Sep 2000
    Location
    Norway
    Posts
    5,322

    Post

    Hmmm. In a simpler form I would think you could add a value="yourtext" element in the specific tag, and the "yourtext" would be what you wanted the field to display on load. But I'm not sure in your case...

    ------------------
    Now listening to:
    Røyksopp - Apple
    Now listening to various rock and metal
    143rd member to join Sharkyforums.

  3. #3
    Great White Shark
    Join Date
    Nov 2000
    Posts
    21,595

    Post

    I'm trying to get variable data from the client. I can prefill the fields with static data without trouble. The only variable data I have been able to get is ip, date and time. I need to get computername and username for sure. Logonserver would be nice, but it is optional.

Posting Permissions

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