<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[KillerSites.com Web Design Forums - I'm about ready to commit suicide - please prevent!]]></title>
		<link>http://www.killersites.com/forums/topic/2394/im-about-ready-to-commit-suicide-please-prevent/</link>
		<description><![CDATA[The most recent posts in I'm about ready to commit suicide - please prevent!.]]></description>
		<lastBuildDate>Tue, 03 Nov 2009 21:57:45 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: I'm about ready to commit suicide - please prevent!]]></title>
			<link>http://www.killersites.com/forums/post/11826/#p11826</link>
			<description><![CDATA[<p>and I just figured out how to fade the form out and replace it with a thank you message. I couldn&#039;t figure out all the JS ways to do it, so I somehow managed it with css (well a lttle js). When I&#039;m all done with my nightmare site I will put it all in plain English. That is, if I can remember how I did it by that time.</p><p>The only thing left is to figure out how to write an addMethod for the validation rules. I need to prevent url&#039;s from being input into the textarea. I posted all the details here if anyone has a clue... <a href="http://stackoverflow.com/questions/1668093/help-adding-a-custom-addmethod-to-bassistance-de-validation-plugin" rel="nofollow">http://stackoverflow.com/questions/1668 &#133; ion-plugin</a></p>]]></description>
			<author><![CDATA[dummy@example.com (Eric)]]></author>
			<pubDate>Tue, 03 Nov 2009 21:57:45 +0000</pubDate>
			<guid>http://www.killersites.com/forums/post/11826/#p11826</guid>
		</item>
		<item>
			<title><![CDATA[Re: I'm about ready to commit suicide - please prevent!]]></title>
			<link>http://www.killersites.com/forums/post/11803/#p11803</link>
			<description><![CDATA[<p>Good for you. How long for the hair to grow back? Keep us posted... <img src="http://www.killersites.com/forums/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (jlhaslip)]]></author>
			<pubDate>Tue, 03 Nov 2009 02:15:17 +0000</pubDate>
			<guid>http://www.killersites.com/forums/post/11803/#p11803</guid>
		</item>
		<item>
			<title><![CDATA[Re: I'm about ready to commit suicide - please prevent!]]></title>
			<link>http://www.killersites.com/forums/post/11802/#p11802</link>
			<description><![CDATA[<p>I did it!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! </p><p>JQuery validation + Ajax Submit + full PHP validation = the best!</p>]]></description>
			<author><![CDATA[dummy@example.com (Eric)]]></author>
			<pubDate>Tue, 03 Nov 2009 02:07:49 +0000</pubDate>
			<guid>http://www.killersites.com/forums/post/11802/#p11802</guid>
		</item>
		<item>
			<title><![CDATA[Re: I'm about ready to commit suicide - please prevent!]]></title>
			<link>http://www.killersites.com/forums/post/11791/#p11791</link>
			<description><![CDATA[<div class="quotebox"><cite>virtual wrote:</cite><blockquote><p>Sorry can&#039;t help.&nbsp; Tear your hair out and rip your clothes if you must, but please don&#039;t commit suicide no web site is worth that sacrifice...!!!</p></blockquote></div><p>I guess I was being a little over dramatic. This is just driving me crazy! Usually (actually always) if I read and apply myself for this long Im able to put the pieces together. Although, with this, I just keep running into brick walls. Here is my simplified post of where I&#039;m at now, and what I&#039;m trying to accomplish. <a href="http://www.sitepoint.com/forums/showthread.php?t=645199" rel="nofollow">http://www.sitepoint.com/forums/showthread.php?t=645199</a> I&#039;ll try for a couple more days, and if I still can&#039;t do it I will just give up and do it the only way I know how (the less cool way).</p><p>You see, the problem I&#039;m having is, there are a few good tuts around the web that show how to do an Ajax submit and fade out the form and replaceing it with a thank you message. But none of them provide any validation along with it. Well other than empty or not. And I do not posess the ability to add validation to it. I can&#039;t combine the two.</p>]]></description>
			<author><![CDATA[dummy@example.com (Eric)]]></author>
			<pubDate>Mon, 02 Nov 2009 17:08:05 +0000</pubDate>
			<guid>http://www.killersites.com/forums/post/11791/#p11791</guid>
		</item>
		<item>
			<title><![CDATA[Re: I'm about ready to commit suicide - please prevent!]]></title>
			<link>http://www.killersites.com/forums/post/11790/#p11790</link>
			<description><![CDATA[<p>Sorry can&#039;t help.&nbsp; Tear your hair out and rip your clothes if you must, but please don&#039;t commit suicide no web site is worth that sacrifice...!!!</p>]]></description>
			<author><![CDATA[dummy@example.com (virtual)]]></author>
			<pubDate>Mon, 02 Nov 2009 16:10:32 +0000</pubDate>
			<guid>http://www.killersites.com/forums/post/11790/#p11790</guid>
		</item>
		<item>
			<title><![CDATA[I'm about ready to commit suicide - please prevent!]]></title>
			<link>http://www.killersites.com/forums/post/11775/#p11775</link>
			<description><![CDATA[<p>Here is my test page. <a href="http://tinyurl.com/yg9nw9a" rel="nofollow">http://tinyurl.com/yg9nw9a</a> Press submit and you can see how it performs.</p><p>I have tried about a million things. I am simply trying to combine jquery validation plugin with ajax form submit. I have resigned myself to being happy with a simple javascript popup thank you message via an ajax submit. This is done in order to prevent the user from leaving the page on form submit. </p><p>I &quot;think&quot; I need to use a submitHandler in the validation JS and call the ajax submit. But I am unable to piece it together. This is the very last piece of the puzzle for me and this site. Once I get this backend stuff working it&#039;s all formatting (easy stuff).&nbsp; </p><p>The JS validation works perfect. When JS is off I&#039;ll just use my good old PHP script I have. Here is the page in it&#039;s entirety. Please help put me out of my misery. I&#039;m definitely working above my pay-grade here. </p><p>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01//EN&quot; &quot;<a href="http://www.w3.org/TR/html4/strict.dtd" rel="nofollow">http://www.w3.org/TR/html4/strict.dtd</a>&quot;&gt;<br />&lt;html&gt;&lt;head&gt;&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot;&gt;<br />&lt;title&gt;edit-your-website.com&lt;/title&gt;<br />&lt;meta name=&quot;description&quot; content=&quot;&quot;&gt;<br />&lt;meta name=&quot;keywords&quot; content=&quot;&quot;&gt;<br />&lt;link href=&quot;css/styles.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot;&gt;<br />&lt;style type=&quot;text/css&quot;&gt;<br />html, body {<br />overflow:hidden;<br />background:none;<br />}<br />#contactform {<br />float:left;<br />position:relative;<br />width:319px;<br />padding:0;<br />font-size:13px;<br />}<br />#contactform:hover, #contactform:focus {<br />background-position:0 -322px;<br />}<br />#contactform input {<br />margin:4px 0 15px;<br />border:0;<br />padding:13px;<br />height:17px; /* actual height = 43px */<br />width:293px; /* actual width = 244px */<br />background:url(img/input3.jpg) 100% 0 no-repeat;<br />}<br />* html #contactform input {<br />background-attachment:fixed;<br />}<br />#contactform input:hover, #contactform input:focus {<br />background-position:100% -43px;<br />outline:0;<br />}<br />#contactform textarea {<br />height:129px; /* actual height = 155px */<br />width:293px; /* actula width = 319px */<br />border:0;<br />background:none;<br />background:url(img/textarea.jpg) 0 0 no-repeat;<br />overflow:auto;<br />outline:0;<br />padding:13px;<br />resize:none;<br />}<br />#contactform textarea:hover, #contactform textarea:focus {<br />background-position:0 -155px;<br />}<br />#contactform input#captcha {<br />width:108px;<br />margin:13px 0 0; /* if JS is off this kicks in */<br />float:left;<br />background:url(img/captcha.jpg) 0 0 no-repeat;<br />}<br />#contactform input#captcha:hover {<br />background-position:0 -43px;<br />}<br />#contactform input#contact-login {<br />float:right;<br />width:134px;<br />height:43px;<br />cursor:pointer;<br />margin:13px 0 0;<br />background:url(img/captcha.jpg) no-repeat;<br />}<br />* html #contactform input#contact-login {<br />margin-left:-6px;<br />}<br />#contactform #contact-login:hover, #contactform #contact-login:focus {<br />background-position:0 -43px;<br />}<br />#contactform input.error {background-position:100% -86px;}<br />#contactform textarea.error {background-position:0 -310px;}<br />#contactform input#captcha.error {background-position:0 -86px;}<br />.required {color:red; font-weight:bold;}<br />&lt;/style&gt;<br />&lt;script type=&quot;text/javascript&quot; src=&quot;js/jquery.js&quot;&gt;&lt;/script&gt;<br />&lt;script type=&quot;text/javascript&quot; src=&quot;js/validate.js&quot;&gt;&lt;/script&gt;<br />&lt;script type=&quot;text/javascript&quot;&gt;<br />&nbsp; &nbsp; $.validator.methods.equal = function(value, element, param) {<br />&nbsp; &nbsp; &nbsp; &nbsp; return value == param;<br />&nbsp; &nbsp; };<br />&nbsp; &nbsp; $(document).ready(function(){<br />&nbsp; &nbsp; &nbsp; &nbsp; $(&quot;#contactform&quot;).validate({<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rules: {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; name: &quot;required&quot;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; email: {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; required: true,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; email: true<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; },<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; comments: {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; required: true,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; minlength: 5<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; },<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; captcha: {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; equal: 4<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; },<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; messages: {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; email: &quot;&quot;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; name: &quot;&quot;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; comments: &quot;&quot;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; captcha: &quot;&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; });<br />&nbsp; &nbsp; });<br />&lt;/script&gt;<br />&lt;script type=&quot;text/javascript&quot;&gt;<br />function clearText(a){if(a.defaultValue==a.value){a.value=&quot;&quot;}else{if(a.value==&quot;&quot;){a.value=a.defaultValue}}};<br />&lt;/script&gt;</p><p>&lt;/head&gt;<br />&lt;body&gt;</p><p>&lt;form id=&quot;contactform&quot; method=&quot;post&quot; action=&quot;http://www.edit-your-website.com/formmail.php&quot;&gt;<br />&nbsp; &nbsp; &lt;div&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;input type=&quot;text&quot; id=&quot;name&quot; name=&quot;name&quot;&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;input type=&quot;text&quot; id=&quot;email&quot; name=&quot;email&quot;&gt;</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &lt;textarea id=&quot;comments&quot; name=&quot;comments&quot; rows=&quot;3&quot; cols=&quot;35&quot;&gt;&lt;/textarea&gt;</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &lt;input type=&quot;text&quot; id=&quot;captcha&quot; name=&quot;captcha&quot; value=&quot;2 + 2 = ?&quot; onFocus=&quot;clearText(this)&quot; onBlur=&quot;clearText(this)&quot;&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;input type=&quot;submit&quot; id=&quot;contact-login&quot; value=&quot;&quot;&gt;<br />&nbsp; &nbsp;&lt;/div&gt;<br />&lt;/form&gt;</p><p>&lt;/body&gt;<br />&lt;/html&gt;</p>]]></description>
			<author><![CDATA[dummy@example.com (Eric)]]></author>
			<pubDate>Sun, 01 Nov 2009 16:25:05 +0000</pubDate>
			<guid>http://www.killersites.com/forums/post/11775/#p11775</guid>
		</item>
	</channel>
</rss>
