Jump to content
  • 0

User input when value not passed in


Sam23

Question

I have a search report and would like to have the option to either pass in a search value, or if none is submitted, let the user enter the search value. Is this possible? 

It seems like I would need to duplicate datapages if that functionality is not available. I would like to see the same datapage, sometimes coming from another datapage and passing in a value, other times not coming from elsewhere and the user enters the search value. Do I need two datapages to accomplish this?

Thanks,
Sam

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

This is definitely possible. You should be able to set up the search field to receive a parameter and still be able to use it if no parameter is present. 

Go to the Advanced tab on the search field that should receive the parameter. Check the 'On load' box, set Value to 'External Parameters', and type in the parameter name. Now, while coming from another page and passing a parameter, the field should be filled and you just need to click search. Or, if you're not coming from elsewhere, you can still use it as a dropdown or whatever you'd have it set as. 

If you want it to automatically search when a parameter is received, you can follow the workflow in this forum post:

 

Link to comment
Share on other sites

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.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...