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.

Form Questions /

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

show last sent form data for logged in users


Go to End


2 Posts   1135 Views

Avatar
janulka

Community Member, 80 Posts

26 January 2011 at 10:21am

Users on the website (registered and logged in) will regularly send report using form. Is it possible to display last sent data to specific user?

What I mean is that User is going to use form to send data, and just below the form he will see what he sent one month ago..

Thanks.

Avatar
swaiba

Forum Moderator, 1899 Posts

15 February 2011 at 10:29pm

Depends how you are storing the data...

If the data is being stored in a DataObject, that has_one Member, then you can do a search for the last item for that user ordered by date.