cancel
Showing results for 
Search instead for 
Did you mean: 

Disable Save Button in the Interactive PDF form

Former Member
0 Kudos

Hi Experts,

I have created an interactive form using NWDS and I am able to show it as Collable Object. Now the requirement is that I have to disable the save button from the PDF.

Can you please let me know how to disable the Save Button for the interactive form?

Thanks in Advance

Regards,

Kuldeep Verma

Accepted Solutions (1)

Accepted Solutions (1)

harman_shahi
Contributor
0 Kudos

Hi Kuldip,

if you're trying to hide the Save Button in the Adobe toolbar, then you can place the following code in the wdDoModifyView method to hide the whole toolbar.

	
// Get interactibe form handler.
	   IWDPDFDocumentInteractiveFormHandler iFormHandler = WDPDFDocumentFactory.getDocumentHandler(wdThis.wdGetAPI(), "<name of your form>");
		
//	Get appearance setter.  
	 IWDPDFDocumentAppearance appearance = iFormHandler.getDocumentContext().getAppearance();
	 
	// Hide menu bar.
	appearance.hideMenuBar(true);  
		
	// Hide tool bars.
	appearance.hideToolBars(true);

hope this helps,

harman

Former Member
0 Kudos

Hi Harmon,

I have not the exact solution but this alternative works to fulfill the requirement.

Thanks a lot Harmon.

Regards,

Kuldeep Verma

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

Type in the following script for the button in the initialize event. Script language is formcalc.

<Your button name>.access = "readOnly"

Regards

Thashin