To Show Form Progress Level to customer | Sanwebcorner

To Show Form Progress Level to customer

Hi , Now i am going to explain about create progress bar for form filling using html, css, jquery . This Progress bar is Really help for customer Easily know how much they completed form till now and how much remains. 



Progression.js is a jQuery plugin that shows tips about an active form field and also displays the progress (how much of the form is filled). It uses the data attributes for storing the tips, has options for customizing the tooltip and can be implemented into any form so easily.

Index.html:

<html>
<head>
<title>Form Progress view</title>
<style>
#myform{
width:300px;
margin: 0 auto;
background-color:#F1FEF2;
padding:25px;
border-radius:5px;
border:1px solid #093;
}
label{
display:block;
}
input,textarea{
width:100%;
height:35px;
border-radius:5px;
border:1px solid #093;
}
</style>
<link href='progression.min.css' rel='stylesheet' type='text/css'>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script type="text/javascript" src="progression.min.js"></script>
<script>
jQuery(document).ready(function($) {

$("#myform").progression({
 tooltipWidth: '200',
 tooltipPosition: 'right',
 tooltipOffset: '50',
 showProgressBar: true,
 showHelper: true,
 tooltipFontSize: '14',
 tooltipFontColor: 'fff',
 progressBarBackground: 'fff',
 progressBarColor: '6EA5E1',
 tooltipBackgroundColor:'a2cbfa',
 tooltipPadding: '10',
 tooltipAnimate: true
});

});
</script>
</head>
<body>
<form id="myform">
    <h2> Form Progress View:</h2>
<p>
<label for="">First Name</label>
<input  data-progression type="text" data-helper="Help users through forms by prividing helpful hinters" name="name" value="" placeholder="">
</p>
<p>
<label for="">Last Name</label>
<input data-progression type="text" data-helper="Tracks users progress when filling in forms" name="email" value="" placeholder="">
</p>
<p class="left">
<label for="">Email</label>
<input data-progression type="text" data-helper="The tooltip is fully customisable" name="mytel" value="" placeholder="">
</p>
<p class="right">
<label for="">Age</label>
<input data-progression type="text" data-helper="And can be positioned left or right" name="mytel" value="" placeholder="">
</p>
<p>
<label for="">Telephone Number</label>
<textarea data-progression name="" data-helper="Either the helper text or progress bar can be turned off"></textarea>
</p>
<p>
<input type="submit" class="button" name="" value="Submit" placeholder="">
</p>
</form>
</body>
</html>


progression.css


.percent {
        display: block;color: #fff;font - size: 12 px;margin - left: 5 px;height: auto;position: absolute;top: 2 px; margin-top:-9px;
}

.triangle_right 

{
        width: 0;height: 0;border - style: solid;border - width: 7.5 px 10 px 7.5 px 0;border - color: transparent rgba(255, 255, 255, .3) transparent transparent;display: block;position: absolute;left: -10 px;top: 10 px
}

.triangle_left 
{
        width: 0;height: 0;border - style: solid;border - width: 7.5 px 0 7.5 px 10 px;border - color: transparent transparent transparent rgba(255, 255, 255, .3);display: block;position: absolute;right: -10 px;top: 10 px
}

.tooltip p 
{
        color: white;margin - bottom: 10 px;font - size: 14 px
}

.percentagebarinner 
{
        width: 0;background: #FFF;height: 20 px;background: #6ea5e1;position:relative}
.percentagebar
{
width:100%;position:relative;background:# FFF;height: 20 px
}



Post a Comment

Labels

360 degree view product image 3d rotate 3d text 3step-form Accordion menu ajax All Browsers Animated Background Gradient animation audio controller auto complete Best accordion menu bootstrap border bounce effect on hover Breadcrumb calculate age by dob calendar Captcha change image on mouse move color chooser countdown Counter on scroll Css css animation css buttons css hover css3 customized upload Button Date picker delete data from table Different scroll speed email otp verification email verifier Embed eventlist Expanding Menu feedbck form flash news section close button full screen menu Google custom search Google Maps Google reCAPTCHA Google site search gradient hide menu Horizontal News ticker Hover Htm Html html dropdown html form html5 html5 form validation Iframe image hover increment decrement textbox value based on select box Javascript Jquery js Layered image effect on mouse hover lock & unlock page scroll marquee marquee with close button mobile number validation mobile otp login Multi-level-drop-down-menu multi-level-form Multi-Step-form mysql News ticker on hover change text to image our team page password strength checker Photoshop PHP populate html selectbox Popup image on click the link pure css Question type form Random password Redirect page Based on the select box while submit the form responsive responsive menu responsive popup box Responsive Vertical Time line design rotate image selectbox based on select box simple coming soon page simple countdown based on end date simple typing effect slider sliding tab sms otp login statistic counter on scroll switch tag shape team member Time picker toggle toggle view transparent button underline animation up down slide validation vertical fixed sidebar Webtips Youtube