Jump to:

1970 Posts in 1272 Topics by 607 members

Form Questions

SilverStripe Forums » Form Questions » Form that shows results in previous page

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

Page: 1
Go to End
Author Topic: 1276 Views
  • modernclics
    Avatar
    Community Member
    1 Post

    Form that shows results in previous page Link to this post

    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.-

  • joshy
    Avatar
    Community Member
    57 Posts

    Re: Form that shows results in previous page Link to this post

    Hiya,

    It'll help if you post your current code - preferably via pastie: http://pastie.org/

    Cheers

    1276 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.