41 users online (1 members and 40 guests)  


  Results 1 to 6 of 6

Related

  1. How to use Form Results within same page    Forum: HTML Forum
    Replies: 5
  2. Passing results of script in one form to another.    Forum: Javascript Forum
    Replies: 0
  3. Form Results Processing    Forum: Website Scripts Forum
    Replies: 2
  4. form submit button    Forum: HTML Forum
    Replies: 1
  1. #1
    stukie's Avatar
    New User

    Status
    Offline
    Join Date
    Mar 2003
    Location
    South-Central Idaho
    Posts
    2

    Question overwrite results on submit form

    Hello all - this is my first post.

    Have a very simple form (inputs= title and comments) on messageform.htm. Want results displayed on message.htm upon submit. This works, but each time I submit it appends the message.htm page. I want it to overwrite it so only the current submission shows on the page. How do I do this?

    Thank you in advance,

    stukie

  2. #2
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    Hiya.

    It depends heavily on what language you are using to capture the form submission data and what the scripting does after submission.

    Would you mind posting your code for message.htm so we can see what it does/is?
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?

  3. #3
    stukie's Avatar
    New User

    Status
    Offline
    Join Date
    Mar 2003
    Location
    South-Central Idaho
    Posts
    2
    http://www.mvweb.org/tlc/messageform.htm and http://www.mvweb.org/tlc/message.htm

    using frontpage 2002, thanks again

    Stukie

  4. #4
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    Hi again.

    Ideally, I need to know the sourcecode for -
    _vti_bin/shtml.exe/messageform.htm

    I am unsure how frontpage works! never used it. Any FP guys in the house?
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?

  5. #5
    Doorknob's Avatar
    Super Newbie

    Status
    Offline
    Join Date
    Jun 2002
    Location
    Malaysia
    Posts
    316
    yah, without the source code for the page that processes the form, we can't help u. sorry

  6. #6
    nassau12's Avatar
    Junior Member

    Status
    Offline
    Join Date
    Nov 2002
    Location
    Princeton, NJ
    Posts
    32
    After checking your form and its confirmation page, I wonder why you would want to overwrite the data in your _vti_bin.../message.htm? Any text entered would be lost upon entering new text. Unless you were checking the file very frequently, you would only see the last message.

    If you are having trouble reading the multiple messages in your message.htm file, try sending the form results to _private/message.txt, and then downloading it to a database on you local computer. After each download, say at the end of the day, delete the message.txt file from your server. It will automatically be replaced when the next message is posted.

    Hope this is helpful, or have I missed the point entirely?

    Nassau12



Tags for this Thread