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

How can I make buttons for Clear, save, print, Print preview of a pdf fillable form

Explorer ,
Jul 01, 2023 Jul 01, 2023

Hi, I have few questions that

 

1.  I want to get print preview of a fillable form (without showing text boxes background i.e blue etc) and then print it ( please tell how to make print preview and print button)

example of form after entering data is like

gallery2.jpgexpand image

2. I need to save the entered data as pdf readable file. when i click on the save button on the form

3. and the last one I need a clear form button to clear enteries on the form.

4. How can I use Tab control (as in the picture ) in pdf fillable form?

So please help me out in this matter, Thanks.

TOPICS
Comment review and collaborate Experiment , Create PDFs , Edit and convert PDFs , General troubleshooting , How to , JavaScript , PDF , PDF forms , Print and prepress , Scan documents and OCR , Standards and accessibility
729
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 ,
Jul 01, 2023 Jul 01, 2023

1. Not sure what you mean by a "print preview"... You can disable fields highlighting, I guess, or make the fields read-only, but I don't really see the point of that. You can open the Pring dialog with this code:

this.print();

2. You can open the Save As dialog with this code:

app.execMenuItem("SaveAs");

To silently save the file (or to print it) would require installing a script file with special code on the machine of each user.

3. There's a built-in command under the actions list of a button to do that, or you can use this code:

this.resetForm();

4. PDF files can't contain tabs. If you want to achieve something similar you will need to program it carefully using a combination of layers, multiple sets of fields, and scripts to show/hide them when the "tab" buttons are clicked. This is not a trivial task.

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
Explorer ,
Jul 01, 2023 Jul 01, 2023

Thanks for your great help. 

Sorry you couldnt get print preview, it is a  feature that allows anyone to see exactly how pages will look when they are printed, So I want this in my pdf form, but dont know how to do this, 

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 ,
Jul 01, 2023 Jul 01, 2023

What exact command do you use in Acrobat to get that?

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
Explorer ,
Jul 01, 2023 Jul 01, 2023
LATEST

No again you didnt understand, I meant I want this print preview in my pdf form, because when I enter all information then before printing I need to check my information how it looks, This is what I want in PDF fillable form, hopeful this time you will get my lines, Thanks

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