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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Form Questions /

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

Form that shows results in previous page

Go to End

2 Posts   1670 Views


Community Member, 1 Post

19 July 2009 at 8:21am

Edited: 19/07/2009 8:22am

This is the scenario:

I'm using a form to generate a query to a MySQL database, everything is working fine except that the data is shown in a blank page.
What I want to do is to show the Query Result in the same page where the form is. In this case I can't use Director::redirectBack() because the Sql Result will not be displayed.

Is there any way to solve this?

This is the page structure:

Menu 1: Queries
Menu 2: Common Queries: --> Form

Thanks in advance.-


Community Member, 57 Posts

21 July 2009 at 10:13pm


It'll help if you post your current code - preferably via pastie: