Greenguy's Board


Go Back   Greenguy's Board > General Business Knowledge
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2015-12-30, 02:55 PM   #1
Greenguy
The Original Greenguy (Est'd 1996) & AVN HOF Member - I Crop Pics For Thumbs In My Sleep
 
Greenguy's Avatar
 
Join Date: Feb 2003
Location: Blasdell, NY (shithole suburb south of Buffalo)
Posts: 41,787
Send a message via ICQ to Greenguy
Arrow Form Help

I don't know how to word this so that I can search Google for the answer lol

Here's the top chunk of the form I have (it's too big to post all of it without confusing people):

Code:
<FORM action="http://www.tankisgay.com/cgi-bin/markmail.cgi" method="post" onsubmit="return validate()" name="pool" id="pool">
<input type="hidden" name="recipient" value="jenks89@gmail.com">
<input type="hidden" name="email" value="myballs@yourchin.com">
<input type="hidden" name="realname" value="Jenks Fantasy Football Playoff Fest 2016">
<input type="hidden" name="subject" value="Jenks Fantasy Football Playoff Fest 2016">
<input type="hidden" name="redirect" value="http://www.tankisgay.com/pool/thankyou.htm">
<input type="hidden" name="env_report" value="REMOTE_USER,REMOTE_IDENT,REMOTE_HOST,REMOTE_ADDR,HTTP_USER_AGENT">
<div class="input"><label for="Entrant">Your Real Name:</label><input id="Entrant" type="text" maxlength="50" name="Entrant"><div style="clear:both;height:0px;">&nbsp;</div></div>
<div class="input"><label for="EmailAddress">Your Email:</label><input id="EmailAddress" type="text" maxlength="50" name="EmailAddress"><div style="clear:both;height:0px;">&nbsp;</div></div>
<div class="input"><label for="TieBreaker">TieBreaker:</label><input id="TieBreaker" type="text" maxlength="3" name="TieBreaker"><div style="clear:both;height:0px;">&nbsp;</div></div>
<div class="input"><label for="Sponsor">Money/How:</label><input id="Sponsor" type="text" maxlength="50"  name="Sponsor"><div style="clear:both;height:0px;">&nbsp;</div></div>
The BOLD parts are what I need help with. What do I put in the value= of this:
<input type="hidden" name="email" value="myballs@yourchin.com">
So that the email address the user inputs in the EmailAddress box:
<input id="EmailAddress" type="text" maxlength="50" name="EmailAddress">
Shows up as the from?
(Obviously, right now I have it set to default to the bogus myballs@yourchin.com email addy)

Thanks In Advance
__________________

Promote POV Porn Cash By Building & Submitting Galleries to the Porn Luv Network
Greenguy is offline   Reply With Quote
Old 2015-12-30, 03:59 PM   #2
Cleo
Subversive filth of the hedonistic decadent West
 
Cleo's Avatar
 
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
You need to put a variable in there so that it picks up the senders email address. It might be the code that is in the email address field.

Each script will have a different variable so I can't tell you what it is.

This is what the code looks like on the contact form that I use on blogs. It's totally different than what you need but shows how you use variables when setting up contact forms.
Code:
<p>Your Name (required)<br />
    [text* your-name] </p>

<p>Your Email (required)<br />
    [email* your-email] </p>

<p>Subject<br />
    [text your-subject] </p>

<p>Phone Number<br />
[tel tel-834]</p>
Try replacing myballs@yourchin.com with the variable that is in the form field that is in the field that they put their email address in.
__________________
Free Rides on Uber and Lyft
Uber Car: uberTzTerri
Lyft Car: TZ896289
Cleo is offline   Reply With Quote
Old 2015-12-30, 04:51 PM   #3
Greenguy
The Original Greenguy (Est'd 1996) & AVN HOF Member - I Crop Pics For Thumbs In My Sleep
 
Greenguy's Avatar
 
Join Date: Feb 2003
Location: Blasdell, NY (shithole suburb south of Buffalo)
Posts: 41,787
Send a message via ICQ to Greenguy
So <input type="hidden" name="email" value="EmailAddress"> ??

(...and, Cleo & I are conversing on ICQ as well, so this will probably annoy her to no end lol)
__________________

Promote POV Porn Cash By Building & Submitting Galleries to the Porn Luv Network
Greenguy is offline   Reply With Quote
Old 2015-12-30, 04:58 PM   #4
Cleo
Subversive filth of the hedonistic decadent West
 
Cleo's Avatar
 
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
Code:
<input type="hidden" name="email" value="EmailAddress">
__________________
Free Rides on Uber and Lyft
Uber Car: uberTzTerri
Lyft Car: TZ896289
Cleo is offline   Reply With Quote
Old 2015-12-30, 05:50 PM   #5
Toby
Lonewolf Internet Sales
 
Toby's Avatar
 
Join Date: Mar 2005
Location: Houston
Posts: 4,826
Send a message via ICQ to Toby
value= assigns that form field, in this case email, to a specific value. In other words it pre-fills that form field. Since this is a hidden field it is the value that will get sent when form is submitted. You use hidden fields to submit fixed value (or values pulled from databases) rather that value input by the user.
Toby is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:51 AM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc