How To: Create jQuery Login Form with Animated validation Effect.
I will show you how to create a simple jquery validation based login form. Some animation is used to get effects and its simple and easy to use.
http://demos.99points.info/login_form/
jQuery Code
function chkForm ()
{
chkEmail();
chkPassword();
}
function chkEmail(){
//testing regular expression
var a = $("#email").val();
var filter = /^[a-zA-Z0-9]+[a-zA-Z0-9_.-]+[a-zA-Z0-9_-]+@[a-zA-Z0-9]+[a-zA-Z0-9.-]+[a-zA-Z0-9]+.[a-z]{2,4}$/;
//if it's valid email
if(filter.test(a))
{
$('#tube').animate({ width: 'show' });
return false;
}
else
{
$('#tube').animate({ width: 'hide' });
return false;
}
}
function chkPassword()
{
var pass1 = $("#password");
if(pass1.val().length < 5){
$('#tube2').animate({ width: 'hide' });
return false;
}
else
{
$('#tube2').animate({ width: 'show' });
}
}
CSS
#customForm input{
width: 220px;
float:left;
padding: 4px;
text-shadow: 0 -1px 1px rgba(0,0,0,0.25);
border-bottom: 1px solid rgba(0,0,0,0.25);
font-size: 11px;
border: 1px solid #CCCCCC;
}
input#button{
width: 244px;
float:left;
padding: 4px;
text-shadow: 0 -1px 1px rgba(0,0,0,0.25);
border-bottom: 1px solid rgba(0,0,0,0.25);
font-size: 11px;
border: 1px solid #CCCCCC;
}
#outer{ width:230px; padding:8px;
background:#336699;
height:30px;
color:#fff;
float:left;
margin-bottom:5px;
font-weight:bold;
-moz-border-radius: 6px;
font-size:12px;
-webkit-border-radius: 6px;
-moz-box-shadow: 0 1px 3px rgba(0,0,0,0.6);
-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.6);
text-shadow: 0 -1px 1px rgba(0,0,0,0.25);
border-bottom: 1px solid rgba(0,0,0,0.25);}
#slide{
width:200px; height:45px; float:left;
background:url(errorEm.GIF) center left no-repeat;
}
#slide2{
width:200px; height:45px; float:left;
background:url(errorPass.GIF) center left no-repeat;
}
#outer em{ font-weight:normal; font-size:11px; font-style:normal; }
#tube{ width:200px; height:50px; float:left;background:#FFFFFF;width:200px;}
#tube2{ width:200px; height:50px; float:left;background:#FFFFFF;width:200px;}
FORM
Email
Password
Minimum 5 characters
17 to “How To: Create jQuery Login Form with Animated validation Effect.”
Post comment

Categories
- AJAX (28)
- Announcement (3)
- Blogging Tips (1)
- Codeigniter (16)
- CSS (14)
- Facebook (8)
- Freelance Tips (1)
- How-To (2)
- Joomla (1)
- JQuery (51)
- Miscellaneous (3)
- Mootools (1)
- MySQL (3)
- PHP (57)
- SEO (2)
- Technology (6)
- Tutorials (17)
- Twitter (2)
- Web Design (26)
- Web Development (58)
- WordPress (3)
Popular post
- 46 Highly Responsive Admin Templates for Your Websites
- $50 PayPal Cash & 5 Premium PHP Wall Script Prizes #Giveaway
- PHP Wall Script Clone with Real Time Features __ January 2013 Release __
- Things you should know if you are a Blogger
- Top 10 Must Have Qualities of a Freelance Web Developer
- Fundamental Factors for Mobile Compatible eCommerce Hosting
- Facebook Wall Script New Version in September 2012
Recommend


How To: Create jQuery Login Form with Animated validation Effect….
I will show you how to create a simple jquery validation based login form. Some animation is used to get effects and its simple and easy to use. Demo is available…
[...] How To: Create jQuery Login Form with Animated validation Effect. [...]
good but link don’t data
validation is fine but link not working please check out
Hey cool thing, especially including that small email validation function. Like that and will use it for my next project. Thanks!
[...] 12) jQuery Animated Form Validation [...]
Nice it were very helpful. You can get more jquery on betasofttrainings.com.
this code is not working in IE
test
nice demo. to bad you did not take the time to make it down loadable, or even be able to get the posted code to work.
good…………
very nice
xc
[...] มาถึงตัวนี้ จัดว่าอลังการที่สุดเลยเพราะเป็นการใช้ css3 animation เข้ามาช่วยเพิ่มลูกเล่นให้กล่องล็อกอิน เมื่อเราคลิกที่แท็ปด้านบน วัตถุต่างๆก็จะวิ่งมาประกอบเป็นกล่องล้อกอินทันทีสวยมากเลยครับ ดูตัวอย่าง ดาวน์โหลด [...]
test
[...] Create jQuery Login Form with Animated validation Effect [...]
I cant download