<?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/language/php/tags/forms</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Fri, 24 May 2013 18:58:48 GMT</pubDate>
<item>
<title>(PHP) WordPress and Gravity Forms: Add Placeholder Text to Fields - depiction</title>
<link>http://snipplr.com/view/70606/wordpress-and-gravity-forms-add-placeholder-text-to-fields/</link>
<description><![CDATA[ <p>Place the following code in your theme's functions.php file to enable placeholder text for individual fields.</p> ]]></description>
<pubDate>Sat, 30 Mar 2013 04:54:32 GMT</pubDate>
<guid>http://snipplr.com/view/70606/wordpress-and-gravity-forms-add-placeholder-text-to-fields/</guid>
</item>
<item>
<title>(PHP) Gravity Forms - Populate Fields from Post Data - paddy1228</title>
<link>http://snipplr.com/view/69900/gravity-forms--populate-fields-from-post-data/</link>
<description><![CDATA[ <p>Populate Fields from Post Data
Add this to functions.php</p> ]]></description>
<pubDate>Tue, 12 Feb 2013 12:33:36 GMT</pubDate>
<guid>http://snipplr.com/view/69900/gravity-forms--populate-fields-from-post-data/</guid>
</item>
<item>
<title>(PHP) Setting a select's selected value - dato</title>
<link>http://snipplr.com/view/61866/setting-a-selects-selected-value/</link>
<description><![CDATA[ <p>dynamically selects a value in a select according to what's already in the DB</p> ]]></description>
<pubDate>Wed, 14 Dec 2011 04:09:44 GMT</pubDate>
<guid>http://snipplr.com/view/61866/setting-a-selects-selected-value/</guid>
</item>
<item>
<title>(PHP) Magento Admin Form - etechblog</title>
<link>http://snipplr.com/view/60493/magento-admin-form/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 03 Nov 2011 00:01:24 GMT</pubDate>
<guid>http://snipplr.com/view/60493/magento-admin-form/</guid>
</item>
<item>
<title>(PHP) Checkbox Processing - ryarwood</title>
<link>http://snipplr.com/view/59520/checkbox-processing/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 07 Oct 2011 05:41:33 GMT</pubDate>
<guid>http://snipplr.com/view/59520/checkbox-processing/</guid>
</item>
<item>
<title>(PHP) PHP getCheckBox - brownrl</title>
<link>http://snipplr.com/view/55778/php-getcheckbox/</link>
<description><![CDATA[ <p>Simple simple simple function to make a checkbox for a form. Retains checked status.</p> ]]></description>
<pubDate>Mon, 27 Jun 2011 19:55:47 GMT</pubDate>
<guid>http://snipplr.com/view/55778/php-getcheckbox/</guid>
</item>
<item>
<title>(PHP) Process multiple forms in a page - julioantuneztarin</title>
<link>http://snipplr.com/view/55379/process-multiple-forms-in-a-page/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 17 Jun 2011 11:21:50 GMT</pubDate>
<guid>http://snipplr.com/view/55379/process-multiple-forms-in-a-page/</guid>
</item>
<item>
<title>(PHP) Mettere uppercase un textbox - tuffo19</title>
<link>http://snipplr.com/view/54520/mettere-uppercase-un-textbox/</link>
<description><![CDATA[ <p>Come rendere uppercase un textbox senza bisogno di js</p> ]]></description>
<pubDate>Sat, 28 May 2011 00:22:22 GMT</pubDate>
<guid>http://snipplr.com/view/54520/mettere-uppercase-un-textbox/</guid>
</item>
<item>
<title>(PHP) Form Class - ratzo</title>
<link>http://snipplr.com/view/47246/form-class/</link>
<description><![CDATA[ <p>Please, feel free to suggest improvements</p> ]]></description>
<pubDate>Sun, 16 Jan 2011 13:00:31 GMT</pubDate>
<guid>http://snipplr.com/view/47246/form-class/</guid>
</item>
<item>
<title>(PHP) Prevent Web Page from Expiring - bradless</title>
<link>http://snipplr.com/view/46885/prevent-web-page-from-expiring/</link>
<description><![CDATA[ <p>I use the following code to prevent a user from getting a "webpage expired" message when hitting the back button on a page where the search results are also on the page with the form.</p> ]]></description>
<pubDate>Tue, 11 Jan 2011 01:50:39 GMT</pubDate>
<guid>http://snipplr.com/view/46885/prevent-web-page-from-expiring/</guid>
</item>
<item>
<title>(PHP) HTTP request class for easy POST/GET manipulation - jschilling</title>
<link>http://snipplr.com/view/46818/http-request-class-for-easy-postget-manipulation/</link>
<description><![CDATA[ <p>Feel free to use this class however you'd like</p> ]]></description>
<pubDate>Sun, 09 Jan 2011 15:31:23 GMT</pubDate>
<guid>http://snipplr.com/view/46818/http-request-class-for-easy-postget-manipulation/</guid>
</item>
<item>
<title>(PHP) PHP Display All Form Variables - kidmizere</title>
<link>http://snipplr.com/view/45449/php-display-all-form-variables/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 08 Dec 2010 12:47:20 GMT</pubDate>
<guid>http://snipplr.com/view/45449/php-display-all-form-variables/</guid>
</item>
<item>
<title>(PHP) Drupal alter comment form - picxelplay</title>
<link>http://snipplr.com/view/44254/drupal-alter-comment-form/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 16 Nov 2010 20:42:36 GMT</pubDate>
<guid>http://snipplr.com/view/44254/drupal-alter-comment-form/</guid>
</item>
<item>
<title>(PHP) Use JParameter to manually write a form field item - harikaram</title>
<link>http://snipplr.com/view/43389/use-jparameter-to-manually-write-a-form-field-item/</link>
<description><![CDATA[ <p>For instance when you want to leverage the JElements in a admin view form...</p> ]]></description>
<pubDate>Mon, 01 Nov 2010 22:02:52 GMT</pubDate>
<guid>http://snipplr.com/view/43389/use-jparameter-to-manually-write-a-form-field-item/</guid>
</item>
<item>
<title>(PHP) Basic Form Handler - sandman7OR</title>
<link>http://snipplr.com/view/38708/basic-form-handler/</link>
<description><![CDATA[ <p>processes contact form input and produces an auto reply</p> ]]></description>
<pubDate>Sun, 08 Aug 2010 07:55:02 GMT</pubDate>
<guid>http://snipplr.com/view/38708/basic-form-handler/</guid>
</item>
<item>
<title>(PHP) PHP: Generic form processing script - nate63179</title>
<link>http://snipplr.com/view/28554/php-generic-form-processing-script/</link>
<description><![CDATA[ <p>A handy, generic form processor which validates presence of fields marked in a hidden value, like: . Easy to override and customize as needed. 

Adapted from a script found in PHP 5 Unleashed.</p> ]]></description>
<pubDate>Thu, 18 Feb 2010 11:38:11 GMT</pubDate>
<guid>http://snipplr.com/view/28554/php-generic-form-processing-script/</guid>
</item>
<item>
<title>(PHP) Howto run your own functions on any forms submission. - berkes</title>
<link>http://snipplr.com/view/28546/howto-run-your-own-functions-on-any-forms-submission/</link>
<description><![CDATA[ <p>By using hook_form_alter, you can add your own callback functions to any Drupal form. 
These functions will be called when Drupal validates the form and when Drupal submits it.

In example below, a module called 'simple_checkout' adds its own handlers to a form called 'ideal_payment_api_issuer_form'. That latter is generated by another module, but we can fill our own tables and run our own validation *in addition to those by the originating module*.</p> ]]></description>
<pubDate>Thu, 18 Feb 2010 09:19:37 GMT</pubDate>
<guid>http://snipplr.com/view/28546/howto-run-your-own-functions-on-any-forms-submission/</guid>
</item>
<item>
<title>(PHP) Cleaning Variables - paulgrenwood</title>
<link>http://snipplr.com/view/20469/cleaning-variables/</link>
<description><![CDATA[ <p>Variables that are submitted via web forms always need to be cleaned/sanitized before use in any way, to prevent against all kinds of different malicious intent.</p> ]]></description>
<pubDate>Wed, 30 Sep 2009 08:54:37 GMT</pubDate>
<guid>http://snipplr.com/view/20469/cleaning-variables/</guid>
</item>
<item>
<title>(PHP) Validate Email Address - paulgrenwood</title>
<link>http://snipplr.com/view/20152/validate-email-address/</link>
<description><![CDATA[ <p>E-mail validation is perhaps the most used validation in web forms, this code will validate email address and also optionally check the MX records of the domain provided in email address to make email validation more robust.</p> ]]></description>
<pubDate>Wed, 23 Sep 2009 15:59:47 GMT</pubDate>
<guid>http://snipplr.com/view/20152/validate-email-address/</guid>
</item>
<item>
<title>(PHP) PHP getSelectFromTable - brownrl</title>
<link>http://snipplr.com/view/17670/php-getselectfromtable/</link>
<description><![CDATA[ <p>This is one of my favs to use and reuse. Essentially, we make a select box on what is in the table filled  values/labels.

Download the ISO countries list to make a country table and Bam! with this function you got a country select box... Also great for foreign keys...

Other Examples:

auto\_maker, auto\_maker\_id
color\_name, color\_id</p> ]]></description>
<pubDate>Thu, 30 Jul 2009 08:49:22 GMT</pubDate>
<guid>http://snipplr.com/view/17670/php-getselectfromtable/</guid>
</item>
</channel>
</rss>