Welcome To Snipplr


Everyone's Recent Snippets Tagged form



« Prev 1 2 3 4 5 ... 10
  1. FAV

    Get all values from form and send it to a page via Ajax

    Here’s a super handy snippet that I use very often. It works very simply: once the user clicks on #submit, the data from #form is serialized and sent to a remote page using the POST method.
    jQuery 6 views posted 2 years ago by catswhocode
  2. FAV

    Contact Form 7 Fields on 2 Columns

    Displaying Contact Form 7 fields on 2 columns using CSS.
    HTML 8 views posted 3 years ago by deliciousthemes
  3. FAV

    getting rid of default form styles

    this gets rid of all default form styles set by browser
    CSS 3 views posted 3 years ago by vaisakh
  4. FAV

    Verify email address

    Allows for forname.o'[email protected]
    JavaScript 7 views posted 4 years ago by flatearthcomms
  5. FAV

    Send simple SMS with PHP

    Simple script to send SMS throught our HTTP API (Afilnet) with PHP. Steps: 1.- Register in Afilnet. http://www.afilnet.com/anunciante/registrar.php 2.- Login and get credits (10 free) to send SMS 3.- Use this script or html form example include in...
    PHP saved by 3 people 15 views posted 5 years ago by Afilnet
  6. FAV

    translate non alphanumeric characters from file name into underscores

    Translate non alphanumeric characters into an underscore. Doesn't create double underscores if there's two spaces in a row. Also turns name to lowercase. Use with trim to avoid spaces at front or end.
    PHP 3 views posted 5 years ago by flatearthcomms
  7. FAV

    Contact Form - HTML

    Contact Form in HTML - without CSS - html 4 compatibility
    HTML 16 views posted 5 years ago by lpiaitdepok
  8. FAV

    WebEdition Selectfeld Bundesländer Deutschland

    Select aus vorhandenen Daten des Datenbankobjektes
    PHP 3 views posted 5 years ago by ulfinger
  9. FAV

    Contact Form 7 Ordering Form

    Jump start effort required to create a simple order form. Form collects product/service info, shipping details, payment details and customer billing/shipping details.
    HTML saved by 1 person 7 views posted 5 years ago by FlashBuddy
  10. FAV

    FILL DATE INPUT WITH FIRST AND LAST DAY OF CURRENT MONTH

    Permet de préremplir des champs avec le premier et le dernier jour du mois courant au format jj/mm/aaaa
    JavaScript 4 views posted 5 years ago by Igeco
  11. FAV

    Numbers only in an input field

    Méthode n'autorisant que les nombres (positifs/négatifs/décimaux avec virgules ou points) dans un champ
    jQuery 6 views posted 5 years ago by Igeco
  12. FAV

    Only Numbers In An Input

    N'autorise que les chiffres (avec , ou . ou négatifs) dans un input
    jQuery 4 views posted 5 years ago by sebabarre
  13. FAV

    ASP.net Dropdown U.S States (non-abbreviated)

    To select a US State from a form.
    ASP saved by 3 people 7 views posted 5 years ago by windmarble
  14. FAV

    MVC Ajax Submit Form

    How to submit a form asynchronously and get result in JSON
    C# 6 views posted 5 years ago by DennisvanderStelt
  15. FAV

    Custom Select Inputs

    SASS to customize the appearance of select inputs
    SASS 7 views posted 5 years ago by eklemen
  16. FAV

    Facebook Login Form

    Tested in Firefox 4, Safari 4, Chrome 14, Opera 10, IE 8 (and newer)
    CSS 15 views posted 6 years ago by jntu_gnec
  17. FAV

    Post form by AJAX and jQuery

    This code shows how we post HTML form by AJAX and jQuery.
    jQuery 12 views posted 6 years ago by khaled__mahmoud
  18. FAV

    Draw a border around the form

    Draw a border around the form. Add to the paint event handler.
    C# 6 views posted 6 years ago by thomas-h
  19. FAV

    Helpful Dynamics CRM 2011 form scripting tidbits

    A set of common From scripting tasks
    JavaScript saved by 1 person 6 views posted 7 years ago by chetkloss
  20. FAV

    Styling select options

    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.
    CSS 6 views posted 7 years ago by COBOLdinosaur
  21. FAV

    Remove $ from HTML form on submit

    Removes $ from HTML form post, allows only number and decimal points. Has $ display in field but disappear when onfocus.
    JavaScript saved by 2 people 4 views posted 7 years ago by lromak
  22. FAV

    Clear form with JavaScript

    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 exa...
    JavaScript 1 views posted 7 years ago by laxman2021
  23. FAV

    Shift+Click to Select/Deselect Checkboxes.

    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.
    JavaScript saved by 2 people 9 views posted 7 years ago by ReedD19
  24. FAV

    How to create a sharepoint data form web part that uses only client side JavaScript

    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...
    XSLT 10 views posted 7 years ago by rumremix
  25. FAV

    Disable Chrome styles for form elements

    If Chrome is bothering with unknown borders and things like that, just apply this.
    CSS 3 views posted 7 years ago by valenzine
  26. FAV

    vertical alignment in forms with multiline labels (horizontal placement label - input)

    this snippet is for this html structure %form %ol %li %label Label: %input
    CSS 7 views posted 7 years ago by Merstzik
  27. FAV

    jQuery Form Attribute Change

    Simply changes the name attribute on input elements when the page is loaded.
    JavaScript 2 views posted 7 years ago by stevielamb83
  28. FAV

    Form input field value replace onchange with jQuery

    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.
    jQuery 8 views posted 7 years ago by bassdas
  29. FAV

    POST form with jQuery (Ajax)

    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
    JavaScript 21 views posted 7 years ago by rickygri
  30. FAV

    POST form with javascript (Non-Ajax)

    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.
    JavaScript 13 views posted 7 years ago by rickygri
« Prev 1 2 3 4 5 ... 10