December 28, 2021 at 6:20 pm #87722
How to set up the progress bar for ALL fields, not only required?
is not blank
set value // how to add something like “+1” here?
set value // “-1”
December 28, 2021 at 7:05 pm #87724
This is not possible.
Progress bars are calculated using one of four options:
– Total progress of required fields completed
– Tab progress
– Upload progress (when form is submitted)
– Custom (you determine the value)
Without knowing which fields are required you’ll never know which fields the user is going to complete and thus you won’t be able to determine 100% progress.
December 28, 2021 at 7:49 pm #87728
Oh, that’s a bad news.
I want the Progress bar to reflect overall number of fields and user’s journey.
I was hoping that i can do it by making all fields required but there is a problem,
for example i have a URL field “Your LinkedIn Profile” but i assume that user may not have a LinkedIn profile..
December 28, 2021 at 8:19 pm #87729
Sorry about that, but I don’t understand how you would calculate progress unless the fields are required.
The Progress element is intended to show the percentage of a task being completed, 0% = incomplete, 100% = fully completed.
If a field is not required it is considered optional, therefore the progress of the form should not increase regardless of whether the field is completed or not.
If you had 5 fields, none required, what would constitute 20% or 40% of the form being completed (for example)? There is no way to calculate it.
Without required fields there is no way of showing what percentage of the form has been completed. If a user opts to not complete a field, you’d get a progress that does not equal 100%.
For your LinkedIn example, you could perhaps have a checkbox that says ‘Do you have a LinkedIn profile?’, if checked you could show the required LinkedIn profile URL field. That way if they don’t have a profile it would be excluded from the progress because it is hidden.
You could possibly achieve what you need with have hidden fields for each field that would contain -1 or 1 (I’m not sure why you would use -1) but it would be quite a lot of conditional logic to do that and would make it difficult to manage.
I’m not aware of any other form plugin that calculates form progress in the way you are stating but if you can give me a working example maybe I can look into adding this to WS Form for you.
December 28, 2021 at 8:24 pm #87730
December 31, 2021 at 7:31 am #88161
thank you Mark
Unfortunately I am not a js developer so i’ll try with build-in conditional logic tool
- You must be logged in to reply to this topic.