Skip to main content
Participant
March 23, 2016
Answered

Search PDF doc based on value selected from a Dropdown Box

  • March 23, 2016
  • 1 reply
  • 675 views

Can someone pleae help me figure out a way to search a pdf for a the value selected from a dropdown box. The document is being used at workstations that do NOT have keyboards, only a mouse. I have made many attempts on my onw with no success. Any assitance would be greatly appreciated!

This topic has been closed for replies.
Correct answer try67

OK, then in that case you can use this code as the drop-down's custom validation script (just make sure to tick the option to commit the selected value immediately, under the field's Properties - Options tab):

search.query(event.value, "ActiveDoc");

1 reply

try67
Community Expert
Community Expert
March 23, 2016

That's a ridiculous set up, but OK...

So how do you want it to work, exactly? Do you want the Advanced Search window to open and search the current file with the selected value in the drop-down the moment it's selected?

flybyAuthor
Participant
March 23, 2016

That is correct. It would be great if possible. Thanks for your time

try67
Community Expert
try67Community ExpertCorrect answer
Community Expert
March 23, 2016

OK, then in that case you can use this code as the drop-down's custom validation script (just make sure to tick the option to commit the selected value immediately, under the field's Properties - Options tab):

search.query(event.value, "ActiveDoc");