Viewing Contact form

Contact form



User: Werner 12 years ago
Hello,

The contact form is not working on my website.
When I push submit nothing happens.

I don't use the Rage hosting, but php is definitely working on the server.
When I look at the code I see this:
<form class="ew_cf ew_custom_contact_63">
<p style="margin-top:0px">
<label for="contact_name">*Naam:</label>
<input id="contact_name" type="text" class="required"/>
</p>
<p>
<label for="contact_phone">Telefoonnr.:</label>
<input id="contact_phone" type="tel" />
</p>
<p>
<label for="contact_email">*Email:</label>
<input id="contact_email" type="email" class="email"/>
</p>
<p>
<label for="contact_msg">*Uw bericht:</label>
<textarea id="contact_msg" class="required"></textarea>
</p>
<p>
<button type="submit">
VERZENDEN
</button>
</p>
</form>


Shouldn't there be more code in the <form> tag?
Like "method" and what to do when you push submit?

The javascript for handling the form is in the header of "contact.html" is this correct?

The contact form at my site is here:
http://www.fbengineering.nl/test/contact.html

With kind regards,

Werner Vrijvogel
User: Roddy 12 years ago
The form won't work unless you are publishing to the EasyWeb server.

You need to have a formmail.php script on your server to process the form and an email address to receive it. Both of these need to be entered into the form code...

<form method="post" action="path to the formmail.php">
<input type="hidden" name="recipients" value="info@mywebsite.com" />

If you want to receive the results on your own computer you also need to setup an email forward on the server.

-------------------------------
Roddy

Website: http://everwebwidgets.com
Contact: http://everwebwidgets.com/ewWidgets-home/contact.html
NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own.
User: Werner 12 years ago
Thank you again Roddy.

I used a old script that i wrote in php some time ago.
I hope for other users EasyWeb makes this also for users that don't know their way in php (or other code).
Maybe in a later version. Will see.

With kind regards,

Werner Vrijvogel
User: Roddy 12 years ago
Those who publish to the EasyWeb server won't have any problem. I suppose users who publish to other hosting services could still use a form service but there are quite a number of scripts available - ready made - for those who can handle uploading it and setting up the email or redirect.

I should have mentioned that I don't normally use a "Thank You" script but send users back to a page of the site after the form is submitted.

-------------------------------
Roddy

Website: http://everwebwidgets.com
Contact: http://everwebwidgets.com/ewWidgets-home/contact.html
NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own.
User: Paul-RAGESW 12 years ago
The contact form does work on third party hosts. I have tested it on a whole bunch of them. The main reason it may not work is because it isn't published correctly or your specific host doesn't support some of the features. Not much we can do in that situation. That is why the one-click publishing exists. Everything just works with it.

-------------------------------
Paul
EverWeb Developer


Post Reply
You must login or signup to post.