Jump to content
xisto Community
Sign in to follow this  
Compute

Seting Up Form-mail... Help

Recommended Posts

Hi I'm pretty new to form-mails so could I like get a little help if possible ;).Now I heard form-mail was already pre-installed... So where is the file that is pre-installed. Can I have the name and locations plz.Also I want to know to set up the form-mail what steps do I have to take and what HTML code do I have to put into my web pages.I want the info from the forum to be sent to an email box I have at godaddy. My domain is hosted their to.Can someone experienced in this please give me step by step directions on how to set up everything.Thanks in advance.

Share this post


Link to post
Share on other sites

Thank you for your question.Please take the time to familiarize yourself with cPanel, given by Xisto. Access your cPanel and look for the group "Preinstalled Scripts." Now select the CGI Center and you will see the complete list of preinstalled scripts at your disposal. CGI Email and FormMail Clone would be two examples. We have Tutorial section where members have posted guides and how to's regarding these and other FORMMAIL. Please use this key word to search the forum.

Share this post


Link to post
Share on other sites

I am in the middle of an evil form-mail battle, so I can relate to you. All yesterday, I tried to set up some forms... and now I finally have some set up, but they are still giving me nothing but trouble. I used the PHPformgenerator... I wanted to just set up some simple ones that I could direct the form input to be sent into my gmail account, but no such luck. I don't know when to send the form action link to. I think that if I knew that, I could send it. Well, unless you still have to create a bunch of extra files to handle that too. Then, I'd be lost again. As it stands, with the formgenerator that I used, it created -tons- of files and folders... and that is all just for one form. I need two separate forms on my site, and there is so much room taken up for two small little forms.And now that I put those premade formgenerators in there, it's messed up the permissions on my site somehow that I can't change and upload the new files. Even when I go into the files in cpanel and change the chmods of the files. Whatever the case is. I'd love to get rid of all those files and folders that it installed, but when I run the delete and uninstall thing for phpformgenerator, it doesn't get rid of the files and I can't delete them by hand either.So, yes, a big head ache. All I wanted was something simple! This has been a long couple of days... and I'm no where close to where I'd like to be.Sorry about the rant here. I'm a bit frustrated. And I would like to know how to make a -simple- form that submits three textbox's info to my email. I've tried php... it's not working for me. Anyway, if you are looking to take a crack at it, I'm about to try the cgiemail that is found in your cpanel -> scripts -> cgi center -> cgiemail...

Share this post


Link to post
Share on other sites

I don't see any guides on how to set the FormMailer clone script? can you give me a link because i don't seem to see any. All i found was a email forum in php. Which is not what i need.midnightvamp I totaly agree. You want something so simple but turns out to be harder then you think.

Share this post


Link to post
Share on other sites

I don't know how simple you guys are looking for. But I have written a tutorial regarding CGI mail. You can read it here http://forums.xisto.com/topic/25640-how-to-use-Xisto-cgi-formmail-a-built-in-script-in-every-hosting/ and don't forget to read the post #3 for supplement.

This CGI script is basic information gatherer. When all you want is person's information entered by that person online--this is for you. I have been using this to gather anyone who's seriously interested in my website offers and takes the time to fill out information for me to contact that person.

The collecting form is whatever you want to make it look...you can even use the form generator found as free when you search the web (or search Xisto for form generator).

Let me know if that help you guys out. ;)

Share this post


Link to post
Share on other sites

I've tried php... it's not working for me.

Why not? It's a lot simpler than trying to get CGI to work, or thats how I've found it in the past. If you want help getting it to work then I and many others are willing to help.

BuffaloHELP does explain it pretty well in that thread so have a look and see if it can help you. Also try the site of the creator of the script. I can't remember it at the moment so just have a look in cPanel.

Share this post


Link to post
Share on other sites

I am posting a reply because this is the only forum that I found where i can post anykind of reply. I wish I could help but without knowing what you are familiar with its difficult to give any kind of instructions without knowing how much in detail I would have to go. There are two programs out there that are easy to use. One is microsoft publisher the other(of Course) is Mircosoft frontpage...they both offer forms when developing web pages...the easiest of the two is microsoft publisher... you can have forms e-mailed to your email instead of being hosted on your site.joel

Share this post


Link to post
Share on other sites

This CGI script is basic information gatherer. When all you want is person's information entered by that person online--this is for you.

 

Let me know if that help you guys out. ;)

179028[/snapback]


That is all I'm after is basic information gathering type stuff. And I did find this tutorial yesterday, and I couldn't get it to work for me. Today, things are looking up. I've mananged to make a very basic form, that sends but I'm only getting the last two of the fields to arrive in the email. The first one doesn't show up at all.

 

Using your example... if on my template, I have:

 

To: your-receiving-address@server.com

Subject: testing out the application form

 

Name entered: [FirstName] [LastName]

 

Zip code: [zip]

 

Sender's email:

 

Sender's phone: ([area])[exchange]-[number]

 


All I'm receiving is:

 


I've checked to make sure that the words are spelled the same on both files, and that they don't have capitals or anything like that. Is there something I could need to add for it to send the first one along?

 

I tried adding a forth textbox, hoping that it just wouldn't send that one instead, but it just left out the first two areas instead and sent the same last two, so I'm not sure whatelse to try.

 

 

And thanks for the offer of help, rvalkass, I might have to take you up on that, if I can't get this one working. I'm not at all familiar with php... so I think that was half my problem.

Share this post


Link to post
Share on other sites

BuffaloHELP I read your tutorial.

I made a contacts page. and I placed the HTML code into that page.

Next I made a the template.txt file in the CGI bin. I added the code to that file.

Now I want to test the form but lets say the user types all the info in. how does he submit it. I see there was no submit input code? Am I doing something wrong?


Here is what my TXT file looks like.

To: support@corzendesign.comSubject: testing out the application formName entered: [FirstName] [LastName]Zip code: [zip]Sender's email: [email]Sender's phone: ([area])[exchange]-[number]


And this is what the html code in my contacts.html page looks like.


<form method="POST" action="http://forums.xisto.com/no_longer_exists/; name="myform" <input type="hidden" name="addendum" value="Thank you. If you are seeing this page, you should be contacted within 48 hours."><table border=0 cellspacing=0 celpadding=0> <tr><td colspan=2>Enter your information:<br></td></tr><tr><td><p align=right>First Name:</td><td><input type="text" name="FirstName" size=25 maxlength=50><td></tr><tr><td><p align=right>Last Name:</td><td><input type="text" name="LastName" size=25 maxlength=50></td></tr> <tr><td><p align=right>Zip Code:</td><td><input type="text" name="zip" size=25 maxlength=50></td></tr><tr><td><p align=right>Email:</td><td><input type="text" name="email" size=25 maxlength=50></td></tr><tr><td><p align=right>Phone:</td><td><input type="text" name="area" size=4 maxlength=5>-<input type="text" name="exchange" size=4 maxlength=3>-<input type="text" name="number" size=5 maxlength=4></td></tr>



So whats next?

Share this post


Link to post
Share on other sites

To add a submit button to the form (so the people can send it once it's filled out), you would type this at the bottom...

<INPUT TYPE="submit" value="Send">

You might also want a 'reset' button:

<INPUT TYPE="reset" value="Reset">

And I believe that you must add a line to end the code for the form too at the bottom:

</form>

Share this post


Link to post
Share on other sites

midnightvamp

There's a good possibility that FirstName isn't a compatible variable. Try first instead of that caps version. I use that variable to demonstrate the difference. So your HTML should look

First Name:</td>
<td>
<input type="text" name="first" size=25 maxlength=50>
<td>

and your TXT file should have first as the required field to be filled. And the rest, etc etc. When you don't see the desired information sent back to you, it means that the variable is mistaken or not recognized.

 

Compute

You should place both TXT and HTML form page in the same directory. Nothing should ever be in your CGI bin folder. And when receive the same result as midnightvamp did, refer to the reply I gave to midnightvamp.

 

Good luck guys ;)

 

Edit: Compute let me reiterate that. Wherever you place your HTML form file, that's where the TXT file should be.

Edited by BuffaloHELP (see edit history)

Share this post


Link to post
Share on other sites

Ok. Now i placed the TXT file into my Public html folder which is where contact.htm is also located. Now the defult for the action is

http://forums.xisto.com/no_longer_exists/

since the template.txt file is not loctaed in that I changed it to.

http://forums.xisto.com/no_longer_exists/

Now its saying.

Method Not AllowedThe requested method POST is not allowed for the URL /template.txt.



I'm so confused. exacly where should i put all my files. the txt and the contacts.htm.

Here is the URL to my contact.htm

http://forums.xisto.com/no_longer_exists/

Share this post


Link to post
Share on other sites

Okay, but it's still not working... I've got variables which should work... these are my two files:

 

<FORM METHOD="POST" ACTION="http://chromlea.trap17.com/cgi-bin/cgiemail/formprocess/langtemplate.txt"><input type="hidden" name="addendum" value="Thank you. Every submission helps the site a great deal.">Language: <input type="text" input name="language"><p>Word or Phrase: <input type="text" input name="phrase"><p>Meaning: <input type="text" input name="meaning"><p><input name="Submit" type="submit" value="Send"></FORM></p>

and:

 

To: chromlea@gmail.com                           Subject: Language Submission                                                  Language:           [language]Word or Phrase:     [phrase]          Meaning:            [meaning]

Can you see anything wrong with this? I used all lowercase words now... and the form works and sends... but only sends the last two entries. And they are in the same directory, so that isn't the problem either.

 

And -- thank you one million times over for putting up with and helping me!

 

I'm so confused. exacly where should i put all my files. the txt and the contacts.htm.

 

179059[/snapback]


Hmm... it seems like it should work from there... but I had mine in the same place that you did... and it wouldn't work for me either. So I dropped them into their own folder, that only had the two files we are making in it, and that seemed to make it work. Or mostly work ;)

 

Anyway, give that a try, and see if that helps you out.

 

Notice from BuffaloHELP:
Merging two posts.

Share this post


Link to post
Share on other sites

Compute

There was a bit misunderstanding when I saw your previous post. You place your TXT file in the same directory as your contact.htm file. That you did right. But you still have to leave it as

<form method="POST" action="http://forums.xisto.com/no_longer_exists/; name="myform">

in your contact.htm and no other directory name before /template.txt since you placed it directory in the public_html folder.

 

midnightvamp

I think the variable is still misread by the form. Try name instead of language and change it in your TXt file to reflect the same. If it still doesn't work I guess I'll fire-up the editing software and I'll test it out myself. ;) Sorry that I did not check my work thoroughly.

Share this post


Link to post
Share on other sites

O ok now the form kind of works. when i click submit i get this...

The following email message was sent.

--------------------------------------------------------------------------------

To: support@corzendesign.com
Subject: testing out the application form

Name entered: rhrhthrtr htrthrhtrth

Zip code: rhtrhtrthrth

Sender's email: rhtrthrthrht

Sender's phone: (43455)333-3333

cgiemail 1.6



When i check my mail box. No massage was ever sent....

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.