Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Adding Submission Number to UserDefined Forms


Go to End


2 Posts   667 Views

Avatar
moxie

Community Member, 8 Posts

24 July 2012 at 6:10am

I've been asked to add simple submission numbers (starting from 1, going up) to submissions -- which would be simple if I had any idea at all what I'm doing. I don't think I want to count rows (because, then the number would change depending on my page?) and, I'm guessing it's something in the datObject -- but...I've got nothing.

Any ideas would be extremely appreciated .

Martin

Avatar
DesignerX.com.au

Community Member, 107 Posts

9 August 2012 at 5:01am

Hi:
O have not tested it it but I think all submission are saved in the database so maybe getting the SubmissionID will work good for you ?

Let us know if you got it working .. ;)