Need Help with Contact Form and Newsletter

  • jharvey1029
  • Novice
  • Novice
  • No Avatar
  • Joined: Oct 15, 2011
  • Posts: 31
  • Loc: New Castle, PA
  • Status: Offline

Post October 18th, 2011, 3:04 pm

ok JS line fixed and the file is loaded into the JS directory with the rest of the js files....wait for it............it still doesnt work....lmao

The button doesnt do anything at all. Almost like JS isnt capable of submitting the form.

Cant believe I have this whole thing working, But ONLY if I use the crappy
Code: [ Select ]
<input type="submit" value="Submit" name='submit'>
code.

the site has 2 very nice combo buttons within the site code, but getting these to work is proving harder than reversing time.
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post October 18th, 2011, 3:04 pm

  • Bigwebmaster
  • Site Admin
  • Site Admin
  • User avatar
  • Joined: Dec 20, 2002
  • Posts: 8922
  • Loc: Seattle, WA & Phoenix, AZ
  • Status: Offline

Post October 18th, 2011, 3:05 pm

Yeah its because multiple problems are going on at once here. Just gotta fix each one. Will look it over shortly.
Ozzu Hosting - Want your website on a fast server like Ozzu?
  • Bigwebmaster
  • Site Admin
  • Site Admin
  • User avatar
  • Joined: Dec 20, 2002
  • Posts: 8922
  • Loc: Seattle, WA & Phoenix, AZ
  • Status: Offline

Post October 18th, 2011, 3:25 pm

Okay I have a new resolution for you to try. Go ahead and change this:

HTML Code: [ Select ]
<input type="hidden" id="submit" name="submit" value="1">


to:

HTML Code: [ Select ]
<input type="hidden" id="form_submit" name="form_submit" value="1">


Then in your PHP Code change this line:

PHP Code: [ Select ]
if(isset($_POST['submit']))


to:

PHP Code: [ Select ]
if(isset($_POST['form_submit']))


and see what happens :)
Ozzu Hosting - Want your website on a fast server like Ozzu?
  • garrett2828
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Oct 18, 2011
  • Posts: 6
  • Status: Offline

Post October 18th, 2011, 3:31 pm

Perfect! thanks so much!
  • jharvey1029
  • Novice
  • Novice
  • No Avatar
  • Joined: Oct 15, 2011
  • Posts: 31
  • Loc: New Castle, PA
  • Status: Offline

Post October 18th, 2011, 3:35 pm

Brian,

you are a champion!!!!! It now works. I cant thank you enough. You have made my day, trust me been working on using this site for sometime now and finally its almost complete.

A great many thanks and if there is anything I can do for you please let me know.


James
  • Bigwebmaster
  • Site Admin
  • Site Admin
  • User avatar
  • Joined: Dec 20, 2002
  • Posts: 8922
  • Loc: Seattle, WA & Phoenix, AZ
  • Status: Offline

Post October 18th, 2011, 4:34 pm

No problem, glad I could help :)
Ozzu Hosting - Want your website on a fast server like Ozzu?

Post Information

  • Total Posts in this topic: 51 posts
  • Users browsing this forum: No registered users and 158 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
 
cron
 

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