Is there a way to automatically 'search' if the search form receives a parameter? I would like the search form to act normally most of the time, but, if the search form receives a parameter, I would like it to automatically go to the results page.
I was thinking of modifying the Auto Submit script with an if/then clause that would check to see if the fields already have a value upon load, and submit if so. But,then I thought it would cause a problem going back to the search form from the results page because the old values are still present when you do that. Sounds like it would create a loop.
I would like to avoid creating an entire new datapage just to have it filter results instead of have a search form.
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
kpcollier
Is there a way to automatically 'search' if the search form receives a parameter? I would like the search form to act normally most of the time, but, if the search form receives a parameter, I would like it to automatically go to the results page.
I was thinking of modifying the Auto Submit script with an if/then clause that would check to see if the fields already have a value upon load, and submit if so. But,then I thought it would cause a problem going back to the search form from the results page because the old values are still present when you do that. Sounds like it would create a loop.
I would like to avoid creating an entire new datapage just to have it filter results instead of have a search form.
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.