Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
11

Making search field in the pdf

Community Beginner ,
Oct 05, 2023 Oct 05, 2023

Hi everyone,

 

Is it even possible to create a search box where I can type in then it will display the results.

 

Thank you 🙂

TOPICS
Create PDFs , JavaScript , PDF , PDF forms
846
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 05, 2023 Oct 05, 2023

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Oct 05, 2023 Oct 05, 2023

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 06, 2023 Oct 06, 2023

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...

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Oct 11, 2023 Oct 11, 2023

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 12, 2023 Oct 12, 2023
LATEST

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 12, 2023 Oct 12, 2023

You should use this tuto:

https://acrobatusers.com/tutorials/custom-document-search-using-javascript


Acrobate du PDF, InDesigner et Photoshoptographe
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines