Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3488132
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T11:14:00+00:00 2026-05-18T11:14:00+00:00

As some will know on here, we are heavily into forms at the moment.

  • 0

As some will know on here, we are heavily into forms at the moment. So got me thinking, and I do know of various progress bars out there.

Such as: Wits

and jquery.progressbar itself.

What I havent seen as yet, is …

Lets say we have a form, with 5 input fields. Any form will do.
Can we attach a score value for each input field, say 20% but that when user clicks into next field, the progreebar is animated, or fills up ( so progresses to 20% etc. )

This isnt quite how we want to do it, but is near enough.

Anyhoo, I am not after someone to write this, just to explain. How we attach a variable ( value ) to an input element, which then gets parsed to the progressbar.

Thats the bit I am stuck on, most of the scripts online are based on SUBMIT. And paginate a form into 5 elements, each element worth x%

Anyways Cheers.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T11:14:01+00:00Added an answer on May 18, 2026 at 11:14 am

    Something like this you mean?

    <script type="text/javascript">
    function updateProgress(element) {
        var weight = element.attributes.weight;
        //some maths to shift the bar along by 25%
    }
    </script>
    
    <input type="text" name="field1" id="field1" weight="25" onBlur="updateProgress(this);"/>
    <div id="progressBar></div>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So a column will hold some text that beforehand I won't know how long
I know if you run in rsync rsync some.domain.com:: It will return me a
I've got some code that will generically get all Controls in a form and
I am using Windows, and I have two monitors. Some applications will always start
We're using Perforce and Visual Studio. Whenever we create a branch, some projects will
This one will take some explaining. What I've done is create a specific custom
I have some classes that will do something based on some conditions . The
I have some code that will be accessed from two threads: class Timer{ public:
I want to write some JavaScript that will change the onmousedown of a div
I currently have some code that will produce a crash dump when my application

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.