cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Getting a count of fields on a form

I have a rather lengthy form that requires scrolling to complete. I thought it would be nice to display a progress indicator at the top of the canvas indicating how far along you are in completing the form. I thought about using the Tabindex property but it does not appear that I can read that property.

 

My idea for a solution is to display the % of form completion using a formula similar to (Tabindex of current field)/(Total number of fields on form).

 

Is this kind of functionality possible? Has anyone done something similar?

2 REPLIES 2
v-micsh-msft
Community Support
Community Support

Hi @Anonymous,

 

I don't think currently it is possible to make the auto-scroll work in a form control.

 

You may consider create multiple forms, then take use of Patch() function to submit the data.

See the following thread for more details:

Submit multiple forms

 

Best regards,

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Thank you for the response.

 

Sorry if I was not clear. I am not interested in auto-scrolling the form. I am interested in displaying a progress indicator of what field of total fields on the form I am currnetly completing. For example, let's say the form has 25 fields. On load, fields 1 - 7 are visible on the PA canvas. I envision the heading with a message simialr to "Now completing Field 1 of 25". As I progress through completing each field on the form, the couter would increment. Optionally this could be shown as a progress bar going from 0% - 100%.

 

This could be done manually but that is not ideal. An automatic implementation would be ideal but I do not think PA has this capability. 

 

Currently my muli-page form is being posted to my SharePoint list using Patch which overall wroks well.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (1,580)