Ok, I see how it works, but I (sorry, I really am out of my league here) don't know if I add that script to my current for handeler, or save it as a separate function. Do I call it from the first?
I am going to take look at the suggested links to see if they show how it is done. Currently, the form handeler gets the data from get.html, and emails it back using a page called get.txt.
My client wants me to change his form so that instead of a successful submission going to a generic "thanks" page, that it says "Thanks Adam, here is your certificate for $25 bucks off. Please print this page."
While I can use javascript for the "print this page" part, and I see how your suggestion works, but I don't know what to do with it... I was hoping to find a complete for that does the same thing on this (or any of the free cgi script sites) to learn how, but I cannot seem to find the cgi you wrote above in use. Thanks for your reply.
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|