Copy link to clipboard
Copied
Hi everyone,
Is it even possible to create a search box where I can type in then it will display the results.
Thank you 🙂
Copy link to clipboard
Copied
Search of what, exactly? The file's static contents? If so, it can be done, but only through a script that either searches the file itself or opens the Advanced Search dialog and runs a search through it.
Copy link to clipboard
Copied
It's like there's a bunch of data, and I want the user to just type in the text field I guess then click a search button, it will display the data the user was looking for. I hope you do understand my objective. And, I know the advanced search dialog, I preferred not to use it. Thank you.
Copy link to clipboard
Copied
What kind of "data"? Where is it saved in the PDF file? How should it be searched? How should the results be presented? A lot of info is missing there...
Copy link to clipboard
Copied
A list of price for medical equipments where it includes here the product number, product description, images, inventory, and prices. Yes it is saved in the pdf file, creating a search field and search button. then it should display the result of what the user type in.
Copy link to clipboard
Copied
Without seeing the actual file it will be very hard to give you further advice, but at any rate it won't be a trivial task. It would require the development of a custom-made tool. If you don't have a high level of control over Acrobat JS I would recommend hiring a professional to write this script for you.
Copy link to clipboard
Copied
You should use this tuto:
https://acrobatusers.com/tutorials/custom-document-search-using-javascript