cancel
Showing results for 
Search instead for 
Did you mean: 

Please Help! New website, but the webform doesn't work

CP
Member

Hi everyone,

 

This looks a great forum and I've searched all over it, but can't any definitive detail that answers the problem I'm having.

 

I have a newly published website, which includes a webform - the site allows completion and submission of the form (and you get the default 'Thank You', before being returned to the site) - but nothing happens with the data that's been inout into it and 'submitted'.  I#ve seen other threads where people get a blank email, but I get nothing at all?!?

 

Details:

 - Website created with EasySite Wizard Pro

 - Website hosted & published successfully with the exception of the Webform (submits but doesn't arrive at the specifed email address)

 - Webform contains six elements

 - Webform elements all have inputs against their respective INPUT NAME fields - all values blank

 - Webform set up to POST to valid email address

 

Hopefully someone will be able to help soon - all help gratefully received! 🙂

 

Thanks in advance,

 

CP

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

dave
Guru

This is not the same problem the original poster is having. Your problem is caused by you not assigning an input name to each of your fields.

 

Go back in and edit the form, and make sure there is an input name for every field, otherwise the field is ignored when the form is submitted.

View solution in original post

6 REPLIES 6

pmillman
Power User

Hi there,

Without seeing the code behind your form it's hard to tell where the trouble may be.  It could be that your code does not have the correct path to the cgi-bin directory.  Here's a sample of a very simple HTML form which I sometimes use as a starting point:

 

<form method="POST" action="http://your.domain/cgi-bin/formmail"><p>
<input TYPE="hidden" NAME="recipient" VALUE="email address of recipient">
Please enter your name: <input TYPE="text" NAME="realname"><br/>
Please enter Your E-mail: <input TYPE="text" NAME="email"><br/>
<input TYPE="hidden" NAME="env_report" VALUE="REMOTE_HOST,REMOTE_ADDR,HTTP_USER_AGENT">
<input type="submit" value="Submit"></p></form>

 

When you click on the submit button it opens your default email client to send the form data to the recipient's Email address.  You can also have this done in the background by using a php script to get the from data and send it to a specific Email address.  A good resource for this is http://www.freecontactform.com/email_form.php. I hope this helps.

 

Peter

dave
Guru

This used to happen if the page containing the form had a space in the filename, but they don't allow you to include a space now... did you set up the page a while ago and have only just published it?

 

Also, does the email address work, i.e it can normally receive mail sent to it? Can you try sending the form to another address, such as gmail etc and see what happens?

unlinkedstudent
Member

I've got the same blooming problem.  If I left the contact page as it was with a hyperlink to one of my e-mail addresses then those using yahoo or hotmail would get an error message.  Therefore, I thought I would design a web form using the STUPID EasyWizard (chokes) software.

 

So off I trot and design the form.  Oooh, that looks quite good me thinks.  Yeah, until I got a blank e-mail back as the original poster.

 

Cheers for posting those forms but a web designer I am not.  I clicked on EasyWizard HMTL icon and up comes a load of code and I've no idea where I would stick in the information from the link you provided.

 

Perhaps BT could get their fingers out and solve this?  Or is there some brainy whizz kid who can help?

 

Have to say, not impressed.

dave
Guru

This is not the same problem the original poster is having. Your problem is caused by you not assigning an input name to each of your fields.

 

Go back in and edit the form, and make sure there is an input name for every field, otherwise the field is ignored when the form is submitted.

unlinkedstudent
Member

With all due respect and no offence intended as I appreciate you trying to help, I think it is practically the same problem.  The software generates the fields as you type it - what values should we be putting in then?  Granted, the original poster said nothing went through to the e-mail whereas I do get an e-mail which is blank.  If the software indicated that values were required, then I'd quite happily have typed them in but it didn't.

 

Sorry if I sound a tad peeved off and it is not directed at you, but is definitely directed at the software designer(s)!

unlinkedstudent
Member

Humble apologies - I now see what you mean; however, I don't recall anything in the instructions telling me to do what you told me to do!  I designed the form, quite happily typed in the label box (for example, Your Name:) but didn't realise I had to click in the blank field next to it, whereupon I had to type Your Name: again there which duly changed it to Your Name_, and repeating the process for each one.

 

Hey presto, the likkle burger works!  Dave, you are truly a star and please accept my humble apologies!

 

And to think, I'd downloaded Web Easy trial s/w - mmm, now which shall I use?