Archive for the ‘Form’ Category

The newer version of CSS is to be launched as CSS 3.0 is having new boost Technics make you way of coding very simpler. CSS 3.0 provides new Pseudo-classes which are mentioned in this post.

These are like:

  • :link
  • :visited
  • :hover
  • :active
  • :first-child
  • :last-child
  • :root
  • :nth-child() __used as ul li:nth-child(odd), :nth-child(even), :nth-child(3), :nth-child(2n) :nth-child(5n), :nth-child(4n + 1)
  • :nth-last-child(n)
  • :nth-of-type(n)
  • :nth-last-of-type(n)
  • :first-of-type and :last-of-type
  • ;only-of-type
  • :last-child
  • ;only-child
  • :empty
  • :target
  • :checked, :enabled and :disabled
  • :not __used like input:not([type=radio])

View Full Tutorial with Examples Here

Resource : smashingmagazine.com

Here is really very simple and smart JavaScript form validation. This is quite simple to use, understand and modify the validations as required.

Here you can find validation for every type of needed fields and various methods like:

  • Checking for Empty Fields
  • Numeric Inputs (like Phone Number, Pin Number etc.)
  • Alphabet Inputs (like Name)
  • Alphabet and Numeric both inputs in one field (Like Address)
  • Character Length in both the ways as minimum and maximum
  • Email Validations
  • Checking Selection for Dropdown List

Javascript Form Validation
(more…)

When we are going to design a form for our website, the problem comes when we feel unable to design the checkbox of the form. Our CSS trick doesn’t works on it.

But now we have a very well designed checkbox that we can use in our website, even we can change the design as per our need as well. Good part of this is, this is done with jQuery and we can modify it very easily…

Here is the link for Demo, download and tutorial of this.

Demo | Download | View Tutorial

Resource : Tutorialzine

Better Check Boxes with jQuery and CSS

HTML5 introduces you the very latest technics of building forms. Now you no need to stuck with complicated validations and may lengthy fileds to create a form, because HTML5 gives you many new tools to make your form very simple and fetured.

HTML5 introduces many new input types like:

  • Email : <input type="email">
  • Web URL : <input type="url">
  • Number : <input type="number" min="0" max="10" step="2" value="6">
  • Range Slider : <input type="range" min="0" max="10" step="2" value="6">
  • Date Picker : <input type="date">
    <input type="month">
    <input type="week">
    <input type="time">
    <input type="datetime">
    <input type="datetime-local">

  • Search : <input type="search">
  • Color Picker : <input type="color">
  • Form Validations
  • Required Fileds : <input type="email" required>

Take a look at this example…

Demo | Download | View Tutorial

Resource : net.tutsplus.com

How to Create Cross-Browser HTML5 Forms

We always get a problem to design a form like contact, feedback and many other. The second problem comes when we are going to validate the form by javascript.

Here I found a very smart solution of all these problem related to form. This form is having very nice design, ajax validated for name, phone, email and all other required fileds with very beautiful way of showing error messages, and best part of it – this is created with jQuery.

You can modify the messages showing for the fields, you can decide the fields to be required, you can add fields and many more options with more flexibility.

Demo | Download | View Tutorial

Resource : Mobily Playground

Ajax Contact Form with jQuery

When we are going to start a designing of a website layout, we always get a stopper at the point of designing a menu and forms. We have an attention that the things must be user-friendly, merged with design and having a nice and cool look.

Anyway when the time come to code for the menus and forms, we always having a problem to make this good looking and easy coded. Here is one great solution of both the problem mentioned above.

And the best part of it, this is completely with Jquery. A very easy to understand, very light code, well commented and no heavy loading problem containing a much much simpler way.

Demo | Download | View Tutorial

Resource : addyosmani

jQuery & CSS3 Drop-Down Menu With Integrated Forms