Topic: ok new problem with form (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=9596" title="Pages that link to Topic: ok new problem with form (Page 1 of 1)" rel="nofollow" >Topic: ok new problem with form <span class="small">(Page 1 of 1)</span>\

 
marf
Bipolar (III) Inmate

From: Canada
Insane since: Oct 2001

posted posted 02-02-2003 18:28

ok I have my form code right here, u can test it out, it works perfectly BUT when I recieve the e-mail the Subject is NULL. How can I put a hidden field in which automatically adds a subject of 'Signup'.

<form action="http://members.rogers.com/marf88/cgi-bin/form-to-mail.cgi" method="post">
<input type="hidden" name="_to_address" value="PUT UR E-MAIL HERE TO TEST IT">
<input type="hidden" name="_reply_html" value="../thankyou.htm">
First Name: <input type="text" name="First_Name"><br>
<input type="hidden" name="_need" value="First_Name">
Last Name:<input type="text" name="Last_Name"> <br>
<input type="hidden" name="_need" value="Last_Name">

Home Phone Number: <input type="text" name="Home_Phone"><br>
Work Phone Number: <input type="text" name="Work_Phone"><br>
City: <input type="text" name="City"><br>
Provice: <select name="Province" size="1">
<option value="Alberta">Alberta</option>
<option value="BC">British Columbia</option>
<option value="Manitoba">Manitoba</option>
<option value="Newfoundland">Newfoundland and Labrador</option>
<option value="NWT">Northwest Territories</option>
<option value="Nova_Scotia">Nova Scotia</option>
<option value="Nunavut">Nunavut</option>
<option value="Ontario">Ontario</option>
<option value="PEI">Prince Edward Island</option>
<option value="Québec">Québec</option>
<option value="Saskatchewan">Saskatchewan</option>
<option value="Yukon">Yukon</option>
</select><br><input type="hidden" name="_need" value="Bond">
Postal Code: <input type="text" name="Postal_Code"><br><input type="hidden" name="_need" value="Postal_Code">
Valid E-mail:
<input type="text" name="E-mail"><br><input type="hidden" name="_need" value="E-mail">
<input type="hidden" name="_from_address" value="E-mail">
Bond Selections: <select name="Bond" size="1">
<option value="Year1">Year 1 Series 2003A</option>
<option value="Year2">Year 2 Series 2003B</option>
<option value="Year3">Year 3 Series 2003C</option>
<option value="Year4">Year 4 Series 2003D PREMIUM</option>
</select><br><br><input type="hidden" name="_need" value="Bond">
Comments: <textarea name="Message" cols=50 rows=6></textarea><br><br><input type="hidden" name="_need" value="Bond">
<input type="submit" value="Send">&nbsp;&nbsp;<input type="reset" value="Clear">
</form>

lawrie
Obsessive-Compulsive (I) Inmate

From:
Insane since: Jan 2003

posted posted 02-03-2003 01:01

Hi,
<input type="hidden" name="subject" value="signup">
hope that's what you want



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu