Jump to content


Question on CGI Coding


2 replies to this topic

#1 Calour

    Young Padawan

  • Members
  • Pip
  • 1 posts

Posted 01 December 2008 - 10:28 AM

I have finally reached the point where my Information form will post to CGI and send all the fields to the proper place ~ However, I am trying to figure out how to tell it to clear the form once it has posted and to send a ThankYou Message before returning to the main page. Any Idea what I type in the code to accomplish this and where? Does the coding go into the cgi bin form or gdform/ or do I place it on the html form? Please Advice if you know!

#2 austen

    P2L Jedi

  • Members
  • PipPipPip
  • 910 posts
  • Location:Montana, US
  • Interests:Web design, snowboarding (lots of it), Computer science related.

Posted 01 December 2008 - 11:26 AM

I'm by no means experienced in cgi coding, but there's probably a better solution, is there a specific reason you're using cgi?

#3 rc69

    PHP Master PD

  • P2L Staff
  • PipPipPipPip
  • 3,827 posts
  • Gender:Male
  • Location:Here
  • Interests:Web Development

Posted 01 December 2008 - 12:41 PM

By default your standard HTML form doesn't remember what you type into it. It is the CGI script that is populating the form with the values, so rather than add something to the script, you most likely have to remove something.

Unfortunately, without the script, we can't say for sure. However, if you didn't make the script yourself, you would probably have better luck asking the author how to do what you are asking.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users