<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/tags/form</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sun, 26 May 2013 12:56:47 GMT</pubDate>
<item>
<title>(CSS) Facebook Login Form - jntu_gnec</title>
<link>http://snipplr.com/view/71069/facebook-login-form/</link>
<description><![CDATA[ <p>Tested in Firefox 4, Safari 4, Chrome 14, Opera 10, IE 8 (and newer)</p> ]]></description>
<pubDate>Tue, 07 May 2013 01:43:35 GMT</pubDate>
<guid>http://snipplr.com/view/71069/facebook-login-form/</guid>
</item>
<item>
<title>(jQuery) Post form by AJAX and jQuery - khaled__mahmoud</title>
<link>http://snipplr.com/view/70989/post-form-by-ajax-and-jquery/</link>
<description><![CDATA[ <p>This code shows how we post HTML form by AJAX and jQuery.</p> ]]></description>
<pubDate>Wed, 01 May 2013 06:27:04 GMT</pubDate>
<guid>http://snipplr.com/view/70989/post-form-by-ajax-and-jquery/</guid>
</item>
<item>
<title>(C#) Draw a border around the form - thomas-h</title>
<link>http://snipplr.com/view/70479/draw-a-border-around-the-form/</link>
<description><![CDATA[ <p>Draw a border around the form.
Add to the paint event handler.</p> ]]></description>
<pubDate>Wed, 20 Mar 2013 06:44:28 GMT</pubDate>
<guid>http://snipplr.com/view/70479/draw-a-border-around-the-form/</guid>
</item>
<item>
<title>(JavaScript) Helpful Dynamics CRM 2011 form scripting tidbits - chetkloss</title>
<link>http://snipplr.com/view/70033/helpful-dynamics-crm-2011-form-scripting-tidbits/</link>
<description><![CDATA[ <p>A set of common From scripting tasks</p> ]]></description>
<pubDate>Thu, 21 Feb 2013 08:14:28 GMT</pubDate>
<guid>http://snipplr.com/view/70033/helpful-dynamics-crm-2011-form-scripting-tidbits/</guid>
</item>
<item>
<title>(CSS) Styling select options - COBOLdinosaur</title>
<link>http://snipplr.com/view/69895/styling-select-options/</link>
<description><![CDATA[ <p>In modern browsers select options can now be style using most css properties. Of course, IE is still behind but it does support some styling as well.  There are a lot more options on the site.</p> ]]></description>
<pubDate>Tue, 12 Feb 2013 07:58:57 GMT</pubDate>
<guid>http://snipplr.com/view/69895/styling-select-options/</guid>
</item>
<item>
<title>(JavaScript) Remove $ from HTML form on submit - lromak</title>
<link>http://snipplr.com/view/69426/remove--from-html-form-on-submit/</link>
<description><![CDATA[ <p>Removes $ from HTML form post, allows only number and decimal points. Has $ display in field but disappear when onfocus.</p> ]]></description>
<pubDate>Fri, 11 Jan 2013 07:26:30 GMT</pubDate>
<guid>http://snipplr.com/view/69426/remove--from-html-form-on-submit/</guid>
</item>
<item>
<title>(JavaScript) Clear form with JavaScript - laxman2021</title>
<link>http://snipplr.com/view/68796/clear-form-with-javascript/</link>
<description><![CDATA[ <p>JavaScript is the only option, if you want to have the ability to clear all form fields. Yes, HTML form has Reset method, but if the form has initial values, then Reset will return the form to the initial state instead of clear input fields. This example also shows how to create an access loop for each form element. You can uncomment alert before "switch" line and you will see the message before element value is cleared. Drop down select-one will be set to its first option because it can not be treated like input text field or select-multiple</p> ]]></description>
<pubDate>Wed, 28 Nov 2012 14:39:07 GMT</pubDate>
<guid>http://snipplr.com/view/68796/clear-form-with-javascript/</guid>
</item>
<item>
<title>(JavaScript) Shift+Click to Select/Deselect Checkboxes. - ReedD19</title>
<link>http://snipplr.com/view/67570/shiftclick-to-selectdeselect-checkboxes/</link>
<description><![CDATA[ <p>Allows you to click a given checkbox X, then shift click another checkbox Y. All checkboxes between X and Y will be checked or unchecked based on the state of checkbox Y. i.e. if you're unchecking Y all boxes between X and Y will also be unchecked.</p> ]]></description>
<pubDate>Wed, 03 Oct 2012 03:48:59 GMT</pubDate>
<guid>http://snipplr.com/view/67570/shiftclick-to-selectdeselect-checkboxes/</guid>
</item>
<item>
<title>(PHP) Form validation - Email validation - frvalois</title>
<link>http://snipplr.com/view/67365/form-validation--email-validation/</link>
<description><![CDATA[ <p>Return false if the email is valid - True if it's not</p> ]]></description>
<pubDate>Wed, 26 Sep 2012 08:06:02 GMT</pubDate>
<guid>http://snipplr.com/view/67365/form-validation--email-validation/</guid>
</item>
<item>
<title>(XSLT) How to create a sharepoint data form web part that uses only client side JavaScript - rumremix</title>
<link>http://snipplr.com/view/67364/how-to-create-a-sharepoint-data-form-web-part-that-uses-only-client-side-javascript/</link>
<description><![CDATA[ <p>With jQuery and SPServices, we have very powerful tools for accessing and manipulating Sharepoint data and precisiely contolling the presentation, entirely from the client side. But such solutions generally need to be either hard-coded into pages or require cumbersome content editor pastes or includes. The advantage of packaging a solution as a web part is that it is a breeze to drop it anywhere on the site. Using the technique below you can package up a purely HTML/JavaScript solution as a web part, combining the benefits of both.

1. Create the HTML/JS content that you would like to turn into a web part in the manner you are most comfortable with
2. Create a dummy page in the site to initially hold our xslt
3. Open site in Sharepoint Designer
4. Find the page created in step 2, detach it from the page layout (by right clicking it), and open it for editing.
5. Place your cursor before the closing < /ContentTemplate > or closing < /asp:Content > tag
6. Paste the code in the source block below.
7. Find 
Title="DataView 1" 
in the code you pasted and replace it with
Title="MoreUsefulWebPartName" 
8. Replace the contents between the opening and closing ![CDATA tags with the HTML and/or JavaScript you created in step 1
9. Select all of the new code, starting with and including the opening WebPartPages:DataFormWebPart tag and ending with and including the closing /WebPartPages:DataFormWebPart tag
10. Switch from code view to designer view. You may ignore any warning you see about missing data sources.
11. Click the web part tab
12. In the "Save Web part" section, select the manner in which you would like to save the new web part.
13. Give the web part a useful name
14. Once you make the new web part available in the web part gallery, users may now add your javascript solution to any page as they would any other web part.</p> ]]></description>
<pubDate>Wed, 26 Sep 2012 05:06:47 GMT</pubDate>
<guid>http://snipplr.com/view/67364/how-to-create-a-sharepoint-data-form-web-part-that-uses-only-client-side-javascript/</guid>
</item>
<item>
<title>(CSS) Disable Chrome styles for form elements - valenzine</title>
<link>http://snipplr.com/view/67312/disable-chrome-styles-for-form-elements/</link>
<description><![CDATA[ <p>If Chrome is bothering with unknown borders and things like that, just apply this.</p> ]]></description>
<pubDate>Sat, 22 Sep 2012 02:14:27 GMT</pubDate>
<guid>http://snipplr.com/view/67312/disable-chrome-styles-for-form-elements/</guid>
</item>
<item>
<title>(CSS) vertical alignment in forms with multiline labels (horizontal placement label - input) - Merstzik</title>
<link>http://snipplr.com/view/67307/vertical-alignment-in-forms-with-multiline-labels-horizontal-placement-label--input/</link>
<description><![CDATA[ <p>this snippet is for this html structure

    %form
      %ol
        %li
          %label Label:
          %input</p> ]]></description>
<pubDate>Fri, 21 Sep 2012 22:55:46 GMT</pubDate>
<guid>http://snipplr.com/view/67307/vertical-alignment-in-forms-with-multiline-labels-horizontal-placement-label--input/</guid>
</item>
<item>
<title>(JavaScript) jQuery Form Attribute Change - stevielamb83</title>
<link>http://snipplr.com/view/66885/jquery-form-attribute-change/</link>
<description><![CDATA[ <p>Simply changes the name attribute on input elements when the page is loaded.</p> ]]></description>
<pubDate>Fri, 24 Aug 2012 07:13:48 GMT</pubDate>
<guid>http://snipplr.com/view/66885/jquery-form-attribute-change/</guid>
</item>
<item>
<title>(jQuery) Form input field value replace onchange with jQuery - bassdas</title>
<link>http://snipplr.com/view/66709/form-input-field-value-replace-onchange-with-jquery/</link>
<description><![CDATA[ <p>If someone put text into an input field (or automatic e.g. with a 2d barcode scanner) and you want to replace a part of the input (pattern) then will help this small jquery code snippet.</p> ]]></description>
<pubDate>Tue, 14 Aug 2012 04:15:42 GMT</pubDate>
<guid>http://snipplr.com/view/66709/form-input-field-value-replace-onchange-with-jquery/</guid>
</item>
<item>
<title>(Rails) Rails Ajax Search Form Using ERB - cliffbraton</title>
<link>http://snipplr.com/view/66688/rails-ajax-search-form-using-erb/</link>
<description><![CDATA[ <p>= Rails Ajax Search Form Using ERB
* action
* name
* text</p> ]]></description>
<pubDate>Sun, 12 Aug 2012 12:23:34 GMT</pubDate>
<guid>http://snipplr.com/view/66688/rails-ajax-search-form-using-erb/</guid>
</item>
<item>
<title>(JavaScript) POST form with jQuery (Ajax) - rickygri</title>
<link>http://snipplr.com/view/66642/post-form-with-jquery-ajax/</link>
<description><![CDATA[ <p>This send any value via POST to a PHP page. It is done with AJAX, so the POST return can be used on the same page as the submit</p> ]]></description>
<pubDate>Fri, 10 Aug 2012 18:48:15 GMT</pubDate>
<guid>http://snipplr.com/view/66642/post-form-with-jquery-ajax/</guid>
</item>
<item>
<title>(JavaScript) POST form with javascript (Non-Ajax) - rickygri</title>
<link>http://snipplr.com/view/66619/post-form-with-javascript-nonajax/</link>
<description><![CDATA[ <p>This javascript function takes the URL of the target page and an associative array of name/values paires and POSTs the data to the supplied URL by dynamically creating a form and then submitting it.</p> ]]></description>
<pubDate>Fri, 10 Aug 2012 01:21:38 GMT</pubDate>
<guid>http://snipplr.com/view/66619/post-form-with-javascript-nonajax/</guid>
</item>
<item>
<title>(JavaScript) Dreamweaver Form Validation w/ Extra Statements - ryarwood</title>
<link>http://snipplr.com/view/65568/dreamweaver-form-validation-w-extra-statements/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 13 Jun 2012 02:12:44 GMT</pubDate>
<guid>http://snipplr.com/view/65568/dreamweaver-form-validation-w-extra-statements/</guid>
</item>
<item>
<title>(JavaScript) select text in form element - charliefmoran</title>
<link>http://snipplr.com/view/64721/select-text-in-form-element/</link>
<description><![CDATA[ <p>cross-browser way to select all text in a form element, via Jason on Stack Overflow</p> ]]></description>
<pubDate>Wed, 25 Apr 2012 07:10:09 GMT</pubDate>
<guid>http://snipplr.com/view/64721/select-text-in-form-element/</guid>
</item>
<item>
<title>(PHP) Form - paul0078</title>
<link>http://snipplr.com/view/64591/form/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 15 Apr 2012 20:16:34 GMT</pubDate>
<guid>http://snipplr.com/view/64591/form/</guid>
</item>
</channel>
</rss>