Jump to content

Recommended Posts

Posted

Hey,

 

So here is what I need help with,

 

I am currently working on a "eMail Me Form" which will allow the visitor to eMail me using it... Simple eH? But here is the twist, I want to make it so that the visitor sends me the eMail to "eMail@tinywizard.net" and I send a confirm eMail back to them from a eMail address or alias "reply@tinywizard.net" but if they reply to the message I want it to get bounced back to them.

 

I would also like to add a drop-down menu that when changed from <Select One> would be used as the Subject of the eMail. But I want them to have to change it, I want <Select One> to be Required to be changed from <Select One> so that they HAVE to select a subject related to their eMail.

 

I would also like to have all of the form elements set with the required tag, so what exactly do I add, and where do I add it to make them have to put their info there?

 

I also need help with the part

<form method="post" action="mailto:eMail@tinywizard.com">
Does that look right? Or did I use the wrong command for the action?

 

Here is my entire script as of now.

 

<form method="post" action="mailto:eMail@tinywizard.com">

 

        <table border="0">

                <tr>

                        <td align="right"><p>First Name:</td>

                        <td><p><input

type="text" size="40" name="firstName"></td

                </tr>

                <tr>

                        <td align="right"><p>Last Name:</td>

                        <td><p><input

type="text" size="40" name="lastName"></td>

                </tr>

                <tr>

                        <td align="right"><p>Email:</td>

                        <td><p><input

type="text" size="40" name="email"></td>

                </tr>

                <tr>

                        <td align="right" valign="top"><p>Message:</td>

                        <td><p><textarea

name="message" wrap="virtual" rows="10" cols="40"></textarea></td>

                </tr>

        </table>

       <input type="Submit" name="submit" value="send message">

 

        </form>

 

And here is the big question lol, I want the form to match my site, so I would be very happy and thankfull, if you could also refresh my memory of the commands to change the background, border, text and default value < Which will clear when the focus is set on it of the form objects.

 

If you might point out what I need to add/remove to make this form work like I have explained, I will be very greatfull.

 

Thanks ahead of time!

-Alan

Posted

And is there anyway using a database or script to post the contents of their eMail in my "Thank you page" ?

 

And what command would I use for them to be sent to a "Thank you page" once their form has been submitted, and to have them sent to a Try again page if their eMail failed?

 

Thanks again! :P

Posted

Yah, I think this one will do it! :)

 

Thanks, and once I learn more about forms, I will write my own and replace the forms on my site. :)

 

 

 

Thanks!

-Alan

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...