Jump to content

add a form


Guest

Recommended Posts

I would like to do 2 things:

1. Add a new site document called "Email Me".....This I know how to do.

2.Put a email contact form inside that document that gets emailed to me (master email address in cube cart)

thanks for the help

Link to comment
Share on other sites

Guest hobbyofkings

If you are in admin in site documents and you edit you contact us page. In FCKeditor at the top left is a button marked source. Click it to see the source code of your page.

A basic html form can be inserted in the source view, it goes like this (I'm sure many here can do better but anyway...)

<form action="mailto:[email protected]" method="post" enctype="text/plain">

    Name: <input name="name"/><br/>

    Email: <input name="email"/><br/>

    <br/>

    Comments: <textarea name="comments" rows="5" columns="100"></textarea><br/>

    <input type="submit" value="Feedback"/> <input type="reset" value="Clear Form"/>

</form>

Just pop it where you want the form to go.

You will need to relpace [email protected] the the target email

rows="5" and columns="100" control the size of the comments box.

the names on the buttons can be changed to whatever you want, simply replace value values.

Hope this is some help

Link to comment
Share on other sites

I use dodosmail for my form processing its PHP based so doesnt have the risks or horrible setup/headaches a perl/cgi based form processor does.

you can get dodosmail here

http://www.regretless.com/scripts/scripts.php#dodosmail

its easy to use and setup once you have edited the dodosmail.php with your email address upload it

then design a form having the action of accessing dodosmail.php

then paste that form code into the source of the contact us site doc.

dodosmail comes with sample forms and alot of comments so getting it up and running is usually very easy.

kinetic

Link to comment
Share on other sites

Join the conversation

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

Guest
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...