trouble with contact page

  • uvex88
  • Born
  • Born
  • No Avatar
  • Joined: Aug 30, 2009
  • Posts: 1
  • Status: Offline

Post August 30th, 2009, 6:07 pm

I recently purchased a website template and on the contact page it uses a text link instead of a send button, I was wondering if anyone had any experience using this setup, and perhaps could give me some advice here.

I have the form pointing to jack's formmail.php and it seems to be reading it, not executing it. any information would be greatly appreciated.

cognitosites . com/contact.html

Thank you
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post August 30th, 2009, 6:07 pm

  • Impel GD
  • Professor
  • Professor
  • No Avatar
  • Joined: Oct 26, 2004
  • Posts: 834
  • Loc: Cologne, Germany
  • Status: Offline

Post August 31st, 2009, 11:55 pm

The text submit link is currently relying on Javascript to submit the form, which is not good, so replacing it with a button is indeed a good idea.

Try replacing line 94:

Code: [ Select ]
<div class="tar ha in10"><b><a href="#" onclick="document.getElementById('form').reset()">clear</a> &nbsp;&nbsp;&nbsp;&nbsp; <a href="#" onclick="document.getElementById('form').submit()">send</a></b></div>


with:

Code: [ Select ]
<div class="tar ha in10"><b><a href="#" onclick="document.getElementById('form').reset()">clear</a> &nbsp;&nbsp;&nbsp;&nbsp;</b> <input type="submit" name="submit" /></div>
Web and print design

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 83 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.