Toadly Posted May 1, 2004 Posted May 1, 2004 Yes, this is probably way too simple of a question for all of the experts around here, but I'm just a small business owner trying to get my first web site to work. I have a form at avhomeinspections.com called 'Request Quote or Inspection' where the 'Submit' button at the bottom, when clicked, goes to 'page cannot be found' instead of to my email. Can someone help me to get this to work properly???? If you can, you are the Wizard!! Thank you in advance for your help!!! Toadly Quote
Deverill Posted May 1, 2004 Posted May 1, 2004 The short answer is that the line: ><form action=--WEBBOT-SELF-- method=post> tells the form what to do when you hit submit. I use the following on one of my pages: ><form name="form1" method="post" action="/cgi-bin/sendmail.php"> but I just realized it is broken because I've not accounted for the way we do e-mail here on TCH. Phooey! Anyway, sendmail.php is a piece of code that handles the email, in my case it's supposed to email it to me. You could do anything you like with the code you put in the file that action points to such as build a log file or do database entries... but that's probably well beyond the scope of Publisher. Hopefully someone else has experience with that program and can help. I'm going to look at my form and see if I can make it work. Quote
Toadly Posted May 1, 2004 Author Posted May 1, 2004 The pop-up box describing the properties of the 'submit' button' under 'data retrieval method' is'send data to me as email' then I give an email address, which I have enabled here at TCH. This function uses FrontPage server extensions, which I have also enabled here at TCH. Is there anyone here with MS Publisher experience, or otherwise knows what I need to do to get this form emailed to me when a prospective client fills it out??? Your help is very much appreciated!! Toadly Quote
Toadly Posted May 2, 2004 Author Posted May 2, 2004 Here are my file manager folders. Upload file(s) .autorespond 700 .gnupg 700 .htpasswds 755 .neomail 700 .neomail-info 700 .spamassassin 700 .sqmaildata 700 .trash 700 etc 770 mail 770 public_ftp 755 public_html 750 tmp 700 www 750 Create New File .autorespond-loopprotect 0 k 644 .contactemail 0 k 644 .lastlogin 0 k 644 .mailboxlist 0 k 644 .spamassassinboxenable 0 k 644 .spamassassinenable 0 k 644 .spamkey Would transferring one (or more) of these folders to the public_html folder enable the 'submit' button to work? Just covering the maybe-this-will-work list... but don't want to go ahead and start moving files willy-nilly! This is the last glitch in getting my web page up and running, soooo... Thanks in advance for your help on this problem!!! Toadly Quote
RJSkon Posted May 2, 2004 Posted May 2, 2004 Toadly Perhaps I can help you a little, I have used MS Publisher in the past to generate forms and web sites, if you go to http://www.rjskon.com/cut_paste/, the two largest forms there were created using MS Pub. All those forms that are shown on that page use a remote Cgi-Bin that contains the FormMail Script that make the forms work, there is no need for perl, cgi or php script. I use http://cutandpastescripts.com/ to do that, There is not any problem setting up any FormMail perl script, it's all done for you. You can set up a Error Page and a Success Page plus the script will mail a thank you Email to the sender of the form, there is not any recipients email address shown in the code. All you have to do is register at Cut and paste Scripts, it's two easy page to fill in on how you want your form to work an than they will post a couple of lines of code that you copy and paste where you have the Form Action an example<form action="http://www.cutandpastescripts.com/cgi-bin/formprocessing/forms.pl" method="post"> you will also paste in your user ID. If you need any help, just let me know and I'll be glad to help you. Richard Quote
RJSkon Posted May 2, 2004 Posted May 2, 2004 Toadly I used your form and substituted one of my Cut and Paste Form actions for yours. Try your form, it will send you a thank you email and if you don't enter your email address it will send you to an error page, give it a try. it's at, http://rjskon.com/toadly_form/, some of the fields on your form may need cleaning up. Richard Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.