PDA

View Full Version : Contact form on Godaddy.com


gcotnoir
09-18-2013, 12:52 AM
Hello,

I am far from being an expert in this field and I'm seeking help with a contact form on my website. I'm trying to use the gdform.php that GoDaddy provides with their hosting solutions. I've also contacted Godaddy's support and all they could tell me is that it has to be a coding issue since everything is good on their side.

I was wondering if anyone could see a problem with this form on my site and tell me how to fix it please. Here's the code :

<form id="ContactForm" action="/gdform.php" method="post">
<div>
<div class="wrapper">
<div class="bg"><input class="input" type="text"></div>
Nom:
</div>
<div class="wrapper">
<div class="bg"><input class="input" type="text"></div>Courriel:
</div>
<div class="wrapper">
<div class="bg2"><textarea cols="1" rows="1"></textarea></div>Message:
</div>
<a href="#" class="button" onclick="document.getElementById('ContactForm').submit()">Envoyer</a>
<a href="#" class="button" onclick="document.getElementById('ContactForm').reset()">Effacer</a>
</div>
</form>

Any help would be greatly appreciated,

Thank you,

gab

edbr
09-18-2013, 02:28 AM
give the fields an id, as in id="message"

gcotnoir
09-18-2013, 05:00 AM
can you give an example pls

edbr
09-18-2013, 05:25 AM
i thought i did

<div class="bg2"><textarea id="message" cols="1" rows="1"></textarea></div>Message: