Greenguy's Board

Greenguy's Board (http://www.greenguysboard.com/board/index.php)
-   General Business Knowledge (http://www.greenguysboard.com/board/forumdisplay.php?f=10)
-   -   Form Help (http://www.greenguysboard.com/board/showthread.php?t=67784)

Greenguy 2015-12-30 02:55 PM

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:



value="myballs@yourchin.com">




 

 

 

 

The BOLD parts are what I need help with. What do I put in the value= of this:

So that the email address the user inputs in the EmailAddress box:

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 |shake|

Cleo 2015-12-30 03:59 PM

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:

Your Name (required)
    [text* your-name]



Your Email (required)
    [email* your-email]



Subject
    [text your-subject]



Phone Number
[tel tel-834]


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.

Greenguy 2015-12-30 04:51 PM

So ??

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

Cleo 2015-12-30 04:58 PM

Code:



Toby 2015-12-30 05:50 PM

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.


All times are GMT -4. The time now is 02:28 PM.

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