The name of my form is auto generated at submit, but I need to add a counter at the end to it. I.e. "File name 1", "File name 2"... "File name 40".
The File name I get from a column in a SharePoint list, and I need to get that counter value from a field in a SharePoint list as well. My problem is that I can not get the field nr value to increment when forms are created.
I have googled a lot, and found that people use Count() and Max() functions to count the rows in their libraries, and then increment the number, but I need to get that value from a SharePoint list field. If the administrator changes the field value to 40,
the next document name will be "File name 41".
Any ideas how that can be acheived?
View Complete Post