julia1
1
Hi, I’m building a travel search bar (from, to, etc.) and trying to figure out the best way to display the information once someone has clicked the search button. There will obviously be multiple combinations, so I need to figure out the best way to scale.
Screenshot 2024-08-03 at 13.52.51|690x292
My thoughts were:
1: Create the options with a database and then use dynamic text. My issue with this is that a lot of the text will need to have unique links in it and I don’t think this would be possible if using dynamic text from a database?
2: Build a separate “search-results” page and bring through parameters.
3: Use Custom states within the same page and then it changes when the search button is pressed. However, I tried to do this and couldn’t get the logic to work with the input boxes changing.
Any advice would be greatly appreciated!
mac2
2
This is likely what I would do. It’s also how most search sites work—you enter the thing you’re searching for and then press a button, which sends you to a page with a whole bunch of ugly URL parameters.
There are so many options! And it’s tough (at least for me) to give a good answer without knowing more about your db structure/what you’re hoping to display.
system
Closed
3
This topic was automatically closed after 70 days. New replies are no longer allowed.