Struggling with 'Data to Send' function

Hi! Obligatory total noob disclaimer :sweat_smile:
I’ve done all the basic academy tutorials and looked up a few youtube videos, but none of the scenarios I’ve come across exactly relate to what I am trying to achieve.

My goal is to create a basic page that returns a a list of restaurants based on some simple filters.

I’ve been struggling for days (literally) trying to figure out how to simply display the data from my database based on a search page.

I have created a very basic form and populated by database with some entries.

The part that I am struggling with is how to send the filters from this form to a page that shows results that match the filters.

Seems like a really simple thing to do, but I am at a loss as to where to go from here.

I have tried creating a ‘results page’ that contains a repeating group with the Restaurant Name, but I don’t know how to capture the data from the search page to populate the result page. I can’t figure out what workflow options to use when the search button is clicked.

Here is my workflow

I know I’m totally off-track, and there’s probably a better, more efficient way to do this because the ‘Data to send’ field doesn’t seem to allow me to select the values from the search page. Hopefully someone can point me in the right direction :pray:

If you want to have the search results display on a different page, then you’ll need to send all of the data to the results page in URL parameters.

But, unless you’ve got a particular reason why you want to display the results on a completely separate page, it makes much more sense, and is far simpler, to have the search filters on the same page as the search results.

Then you can reference the filters directly in the datasource of the repeating group.

If you want to make it seem as though the results are displaying on a separate page, then just hide the search filter form once the search button is clicked and display the repeating group with the results.

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.