Use URL Filter In A Text Search Input Query

I have a text search input field that queries from several databases. What I am trying to do is add an input option.

Here are the options:

#1. The user chooses to click an item in a table list on page A that is directed to page B. The details are displayed by the query of page A’s URL?=id inside the input field automatically.

#2. The user can also choose to overwrite the A’s URL?=id inside the input field by manually typing a different ‘filter text’ in the input field.

I’ve got to the part where the ID is ‘carried’ over to page B and a Query Param is set as: id

What steps do I need to take to use the above action or the URL value? How can I dynamically use the input field “search.value” AND the “query.id” from the URL inside the text input field value?

So, I just added the dmx-bind:value=“query.id” inside the input field. Now the query can be activated either way.

Now, after clicking the link on page A, the URL value is then placed in the search field on page B. Now, if necessary, the user can overwrite the value in the input field.

If you can dream it, Wappler can facilitate it!

Community Page
Last updated: