<?xml version="1.0"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>Alex's Support Forums Tag: contact form</title>
<link>http://www.alex-hardy.co.uk/forums/</link>
<description>Alex's Support Forums Tag: contact form</description>
<language>en</language>
<pubDate>Wed, 19 Nov 2008 23:16:06 +0000</pubDate>

<item>
<title>Alex on "If I add a wysiwyg to message field will it attach images?"</title>
<link>http://www.alex-hardy.co.uk/forums/topic/if-i-add-a-wysiwyg-to-message-field-will-it-attach-images#post-51</link>
<pubDate>Tue, 02 Sep 2008 10:50:51 +0000</pubDate>
<dc:creator>Alex</dc:creator>
<guid isPermaLink="false">51@http://www.alex-hardy.co.uk/forums/</guid>
<description>&#60;p&#62;Thanks for your question, I just need to clarify a point:&#60;/p&#62;
&#60;p&#62;Do you refer to the contact form or sending emails to your mailing list? simpleContact is &#60;a href=&#34;/forums/topic/mass-mail-subscribers&#34;&#62;not a mass mailer&#60;/a&#62;, it's a contact form builder which includes a mailing list opt-in. I recommend services like &#60;a href=&#34;http://www.campaignmonitor&#34;&#62;Campaign Monitor&#60;/a&#62; for sending messages to your list.&#60;/p&#62;
&#60;p&#62;The contact form message field does not support HTML in submissions. Tags that are found are stripped.
&#60;/p&#62;</description>
</item>
<item>
<title>webgirl on "If I add a wysiwyg to message field will it attach images?"</title>
<link>http://www.alex-hardy.co.uk/forums/topic/if-i-add-a-wysiwyg-to-message-field-will-it-attach-images#post-49</link>
<pubDate>Mon, 01 Sep 2008 22:04:02 +0000</pubDate>
<dc:creator>webgirl</dc:creator>
<guid isPermaLink="false">49@http://www.alex-hardy.co.uk/forums/</guid>
<description>&#60;p&#62;Hi if I place a wysiwyg to message field will it send html messages and/ or text messages. Not sure if the email will attach all information and images.&#60;br /&#62;
I know a lot of people like to send html that is why I am asking.&#60;br /&#62;
Thanks.
&#60;/p&#62;</description>
</item>
<item>
<title>Alex on "HELP! Need to add a form element!"</title>
<link>http://www.alex-hardy.co.uk/forums/topic/help-need-to-add-a-form-element#post-47</link>
<pubDate>Sat, 23 Aug 2008 18:31:30 +0000</pubDate>
<dc:creator>Alex</dc:creator>
<guid isPermaLink="false">47@http://www.alex-hardy.co.uk/forums/</guid>
<description>&#60;p&#62;Thanks, but I have to confess that I missed a couple of points :*)&#60;/p&#62;
&#60;p&#62;This workaround is straightforward, but this is the first time I've outlined it in a forum post so please forgive the omissions. I'll look at gathering it into a help document when I have the time. Moving on...&#60;/p&#62;
&#60;p&#62;&#60;strong&#62;The form must post to itself&#60;/strong&#62;&#60;/p&#62;
&#60;p&#62;Open your index.php file, and change the action value on the form tag from contact.php to index.php&#60;/p&#62;
&#60;p&#62;&#60;strong&#62;Fixing the validation message&#60;/strong&#62;&#60;/p&#62;
&#60;p&#62;Open &#60;em&#62;sc_admin/includes/contact/posted.php&#60;/em&#62;&#60;/p&#62;
&#60;p&#62;Find where it says &#60;code&#62;Please enter your company&#60;/code&#62; and replace it with &#60;code&#62;Please enter your birth date&#60;/code&#62;. This makes the form show an appropriate message if the user doesn't complete the field.&#60;/p&#62;
&#60;p&#62;&#60;strong&#62;Styling the form&#60;/strong&#62;&#60;/p&#62;
&#60;p&#62;I can see by viewing the source of your index.php page that you are familiar with CSS. I forgot to mention that you need to paste a link to simpleContact's CSS file into your head.&#60;/p&#62;
&#60;p&#62;Open contact.php and look in the head. Find where it says:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#38;lt;link rel=&#38;quot;stylesheet&#38;quot; type=&#38;quot;text/css&#38;quot; media=&#38;quot;screen&#38;quot; href=&#38;quot;screen.css&#38;quot; /&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Paste that into your index.php before the closing &#60;code&#62;&#38;lt;/head&#38;gt;&#60;/code&#62; tag. Make sure that the CSS file is uploaded.&#60;/p&#62;
&#60;p&#62;You will probably want to remove the CSS instructions that are making the form background white. Since you're using a blue background I'd recommend making the labels white and the error messages yellow (removing the arrows too).&#60;/p&#62;
&#60;p&#62;You can now remove contact.php from your web server - you don't need it.&#60;/p&#62;
&#60;p&#62;Hope this helps.
&#60;/p&#62;</description>
</item>
<item>
<title>maskingshadows on "HELP! Need to add a form element!"</title>
<link>http://www.alex-hardy.co.uk/forums/topic/help-need-to-add-a-form-element#post-46</link>
<pubDate>Fri, 22 Aug 2008 19:33:17 +0000</pubDate>
<dc:creator>maskingshadows</dc:creator>
<guid isPermaLink="false">46@http://www.alex-hardy.co.uk/forums/</guid>
<description>&#60;p&#62;Okay, first of all... THANKS FOR THE INSTANT REPLY! You really know what you're doing and you're very helpful! So thank you! Okay, I got the PHP form on the index page and renamed company to birth date. Now, I can't figure out how to change the look of the contact form now that it is integrated with index.php. Take a look, &#60;a href=&#34;http://www.LearnMagicEasy.com,&#34; rel=&#34;nofollow&#34;&#62;www.LearnMagicEasy.com,&#60;/a&#62; how can I change the color, text and format of the form? I really appreciate your help.&#60;/p&#62;
&#60;p&#62;-Ken
&#60;/p&#62;</description>
</item>
<item>
<title>Alex on "HELP! Need to add a form element!"</title>
<link>http://www.alex-hardy.co.uk/forums/topic/help-need-to-add-a-form-element#post-45</link>
<pubDate>Fri, 22 Aug 2008 08:21:35 +0000</pubDate>
<dc:creator>Alex</dc:creator>
<guid isPermaLink="false">45@http://www.alex-hardy.co.uk/forums/</guid>
<description>&#60;p&#62;Hi Ken,&#60;/p&#62;
&#60;p&#62;simpleContact 1.2 does not support custom fields, but there is a workaround you could do. You could take a field that you don't use (e.g. company) and change its label. That will give you a text field labeled 'Birth date':&#60;/p&#62;
&#60;p&#62;&#60;strong&#62;Changing to Birth date&#60;/strong&#62;&#60;/p&#62;
&#60;p&#62;Open &#60;em&#62;sc_admin/includes/contact/build.php&#60;/em&#62;&#60;/p&#62;
&#60;p&#62;On line 50, find where it says &#60;code&#62;Company&#38;lt;/label&#38;gt;&#60;/code&#62; and replace it with &#60;code&#62;Birth date&#38;lt;/label&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Open &#60;em&#62;sc_admin/message.php&#60;/em&#62;&#60;/p&#62;
&#60;p&#62;On line 65, find &#60;code&#62;&#38;lt;strong&#38;gt;Company:&#38;lt;/strong&#38;gt;&#60;/code&#62; and replace it with &#60;code&#62;&#38;lt;strong&#38;gt;Birth date:&#38;lt;/strong&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;That should do it. Obviously, your database and form code will still refer to a company field, but unless the user goes poking around in your HTML code they will never know.&#60;/p&#62;
&#60;p&#62;&#60;strong&#62;Integrating the form into your site&#60;/strong&#62;&#60;/p&#62;
&#60;p&#62;Firstly, you need to rename your index.html page to index.php (this is so the code will execute). You may need to fix some links around your website after doing this.&#60;/p&#62;
&#60;p&#62;Open &#60;em&#62;contact.php&#60;/em&#62;&#60;/p&#62;
&#60;p&#62;You will see some PHP code at the top of the page. Copy this into your page, making sure the paths are correct.&#60;/p&#62;
&#60;p&#62;Copy the form into your page, from the opening &#60;code&#62;&#38;lt;form&#38;gt;&#60;/code&#62; tag to the closing &#60;code&#62;&#38;lt;/form&#38;gt;&#60;/code&#62; tag.&#60;/p&#62;
&#60;p&#62;Now try looking at the page on your website. You should see your form.
&#60;/p&#62;</description>
</item>
<item>
<title>maskingshadows on "HELP! Need to add a form element!"</title>
<link>http://www.alex-hardy.co.uk/forums/topic/help-need-to-add-a-form-element#post-44</link>
<pubDate>Fri, 22 Aug 2008 04:49:27 +0000</pubDate>
<dc:creator>maskingshadows</dc:creator>
<guid isPermaLink="false">44@http://www.alex-hardy.co.uk/forums/</guid>
<description>&#60;p&#62;Hello, I am very new to PHP, and I need to add a form element called &#34;Birth Date&#34;. I have absolutely no idea how to do this, and I would appreciate any help. I also have another question. I am trying to add this form to a website for my father... The website is &#60;a href=&#34;http://www.LearnMagicEasy.com,&#34; rel=&#34;nofollow&#34;&#62;www.LearnMagicEasy.com,&#60;/a&#62; as you see I want to integrate it on the home page, index.html. I was wondering how I go about doing this. All thanks goes to Alex for this free form creator!&#60;/p&#62;
&#60;p&#62;-Ken
&#60;/p&#62;</description>
</item>
<item>
<title>nortongulch on "Simple User Trick - Adding Dropdown field values"</title>
<link>http://www.alex-hardy.co.uk/forums/topic/simple-user-trick-adding-dropdown-field-values#post-41</link>
<pubDate>Fri, 16 May 2008 21:11:19 +0000</pubDate>
<dc:creator>nortongulch</dc:creator>
<guid isPermaLink="false">41@http://www.alex-hardy.co.uk/forums/</guid>
<description>&#60;p&#62;User wanted drop down list of How Found choices:&#60;/p&#62;
&#60;p&#62;In  sc_admin/include/contact/build.php&#60;br /&#62;
find $foundby input area -- Change &#38;lt;input type=&#34;text&#34; name=&#34;foundby&#34; ...     to&#60;br /&#62;
                                   &#38;lt;select type=&#34;text&#34; name&#34;foundby&#34; ...&#60;br /&#62;
Then add&#60;br /&#62;
&#38;lt;option selected&#38;gt;Please Select!&#60;br /&#62;
&#38;lt;option&#38;gt;Yellow Pages&#60;br /&#62;
&#38;lt;option&#38;gt;Previous customer&#60;br /&#62;
&#38;lt;option&#38;gt;Friend sent me&#60;br /&#62;
&#38;lt;option&#38;gt;LA Times&#60;br /&#62;
&#38;lt;option&#38;gt;Whatever....&#60;br /&#62;
&#38;lt;/select&#38;gt;&#60;/p&#62;
&#60;p&#62;just before the error handling for the field:&#60;br /&#62;
&#38;lt;?php if (isset($err_foundby)) { printf(&#34;&#38;lt;p&#38;gt;%s&#38;lt;/p&#38;gt;&#34;,$err_foundby); } ?&#38;gt;&#60;/p&#62;
&#60;p&#62;If field is required, modify  sc_admin/include/contact/posted.php&#60;br /&#62;
to address invalid default value of &#34;Please Select!&#34;&#60;/p&#62;
&#60;p&#62;Just after:&#60;br /&#62;
		$foundby = sql_quote($_POST['foundby']);&#60;br /&#62;
add:&#60;br /&#62;
		if ($foundby == &#34;Please Select!&#34;) {$foundby = &#34;&#34;;}
&#60;/p&#62;</description>
</item>
<item>
<title>Alex on "Additional Contact Field"</title>
<link>http://www.alex-hardy.co.uk/forums/topic/additional-contact-field#post-40</link>
<pubDate>Wed, 14 May 2008 21:08:39 +0000</pubDate>
<dc:creator>Alex</dc:creator>
<guid isPermaLink="false">40@http://www.alex-hardy.co.uk/forums/</guid>
<description>&#60;p&#62;No problem!
&#60;/p&#62;</description>
</item>
<item>
<title>nortongulch on "Additional Contact Field"</title>
<link>http://www.alex-hardy.co.uk/forums/topic/additional-contact-field#post-39</link>
<pubDate>Wed, 14 May 2008 20:18:34 +0000</pubDate>
<dc:creator>nortongulch</dc:creator>
<guid isPermaLink="false">39@http://www.alex-hardy.co.uk/forums/</guid>
<description>&#60;p&#62;Oops!   Never mind.   I found it.
&#60;/p&#62;</description>
</item>
<item>
<title>nortongulch on "Additional Contact Field"</title>
<link>http://www.alex-hardy.co.uk/forums/topic/additional-contact-field#post-37</link>
<pubDate>Wed, 14 May 2008 17:29:39 +0000</pubDate>
<dc:creator>nortongulch</dc:creator>
<guid isPermaLink="false">37@http://www.alex-hardy.co.uk/forums/</guid>
<description>&#60;p&#62;Not really a biggie.   How about additional field for &#34;How you found us?&#34; with drop down choices.&#60;/p&#62;
&#60;p&#62;Maybe several label editable 'generic' fields to easily incorporate into application?&#60;/p&#62;
&#60;p&#62;Thanks,
&#60;/p&#62;</description>
</item>
<item>
<title>Alex on "Reformat fields on "form""</title>
<link>http://www.alex-hardy.co.uk/forums/topic/reformat-fields-on-form#post-31</link>
<pubDate>Thu, 08 May 2008 18:22:19 +0000</pubDate>
<dc:creator>Alex</dc:creator>
<guid isPermaLink="false">31@http://www.alex-hardy.co.uk/forums/</guid>
<description>&#60;p&#62;Judicious use of CSS 'float' and 'clear' properties should do the trick. CSS layout takes some getting used to but pays off in more maintainable code and better compatibility.&#60;/p&#62;
&#60;p&#62;A good place to start would be Jeffrey Zeldman's influential book &#60;a href=&#34;http://www.zeldman.com/dwws&#34;&#62;Designing With Web Standards&#60;/a&#62;.&#60;/p&#62;
&#60;p&#62;I can offer some advice if you email me, but I don't think a wizard is feasible. It would take a horribly complicated mechanism to achieve a fraction of what you could do simply by tweaking the CSS.
&#60;/p&#62;</description>
</item>
<item>
<title>nortongulch on "Reformat fields on "form""</title>
<link>http://www.alex-hardy.co.uk/forums/topic/reformat-fields-on-form#post-29</link>
<pubDate>Thu, 08 May 2008 17:36:27 +0000</pubDate>
<dc:creator>nortongulch</dc:creator>
<guid isPermaLink="false">29@http://www.alex-hardy.co.uk/forums/</guid>
<description>&#60;p&#62;Hmmm.   I don't have a clue as to how to do it with CSS (alone).&#60;/p&#62;
&#60;p&#62;Meanwhile, I'm busy 'fixing' it by modifying sc_admin/include/contactd/build.php putting the fields into a &#38;lt;table&#38;gt;.&#60;/p&#62;
&#60;p&#62;I guess it depends on the abilities of your users, but what would be cool would be a wizard to help place the fields.  This may be like using an elephant gun to kill a mouse, but what I am doing is TDious (note attempt at humor)...  and I see I need to tweek the screen.css to deal with border:bottom  on fieldset.
&#60;/p&#62;</description>
</item>
<item>
<title>Alex on "Reformat fields on "form""</title>
<link>http://www.alex-hardy.co.uk/forums/topic/reformat-fields-on-form#post-28</link>
<pubDate>Thu, 08 May 2008 10:05:53 +0000</pubDate>
<dc:creator>Alex</dc:creator>
<guid isPermaLink="false">28@http://www.alex-hardy.co.uk/forums/</guid>
<description>&#60;p&#62;You should find that the changes you want can be accomplished with CSS. If necessary, you could modify sc_admin/include/contact/build.php to add a few ids to facilitate this.&#60;/p&#62;
&#60;p&#62;simpleContact Pro will include what I call &#34;HTML snippets&#34; in the admin. You can write chunks of code (headers, paragraphs, divs etc) and place them between form objects. You should be able to use this feature to construct whatever layout you need.
&#60;/p&#62;</description>
</item>
<item>
<title>nortongulch on "Graceful Exit from Contact Form Page (contact.php)"</title>
<link>http://www.alex-hardy.co.uk/forums/topic/graceful-exit-from-contact-form-page-contactphp#post-25</link>
<pubDate>Mon, 05 May 2008 20:29:02 +0000</pubDate>
<dc:creator>nortongulch</dc:creator>
<guid isPermaLink="false">25@http://www.alex-hardy.co.uk/forums/</guid>
<description>&#60;p&#62;I hate to leave a user with no way out if he/she decides not to complete a form, etc.&#60;/p&#62;
&#60;p&#62;So,  I'VE added a 'cancel' button to the end of the contact.php page right after the submit button:&#60;/p&#62;
&#60;p&#62;&#38;lt;input type=&#34;submit&#34; value=&#34;Send&#34; id=&#34;sendme&#34; title=&#34;Send your message&#34; /&#38;gt;&#60;/p&#62;
&#60;p&#62;&#38;lt;input type=&#34;button&#34; value=&#34;Cancel&#34; onclick=&#34;window.location.href='../index.html'&#34;&#38;gt;&#60;br /&#62;
&#38;lt;!-- I knew where to send user, but otherwise use generic onClick=&#34;history.back()&#34;&#38;gt; --&#38;gt;
&#60;/p&#62;</description>
</item>
<item>
<title>nortongulch on "Reformat fields on "form""</title>
<link>http://www.alex-hardy.co.uk/forums/topic/reformat-fields-on-form#post-21</link>
<pubDate>Sat, 03 May 2008 03:40:25 +0000</pubDate>
<dc:creator>nortongulch</dc:creator>
<guid isPermaLink="false">21@http://www.alex-hardy.co.uk/forums/</guid>
<description>&#60;p&#62;As designed, Simple Contact lists fields linerally, one field per row down the page.&#60;/p&#62;
&#60;p&#62;I'd like to make it look more like a form and set the fields where I want them, for example:&#60;/p&#62;
&#60;p&#62;First Name                Last Name&#60;/p&#62;
&#60;p&#62;Address&#60;/p&#62;
&#60;p&#62;Address&#60;/p&#62;
&#60;p&#62;City,      State    Zip     (oh yeah... we don't have State yet)&#60;/p&#62;
&#60;p&#62;Thanks,&#60;/p&#62;
&#60;p&#62;Dennis
&#60;/p&#62;</description>
</item>

</channel>
</rss>
