1 Reply Latest reply on Mar 18, 2012 8:10 AM by dohanlon

    Generate PDF locked.

    IRMJP Level 1

      I need help

      I created a button to "Save AS" but does not save the form fields blocked.

      Is there a way to do when "Save AS" and open the form fields are blocked?

        • 1. Re: Generate PDF locked.
          dohanlon Level 3

          If you are using Designer-based forms, then you can do this on the click event of the button with something like the following javascript example

           

          var sAccess = topSubform.access;
          topSubform.access = "protected";
          this.presence = "hidden";
          app.execMenuItem("SaveAs");
          this.presence = "visible";
          topSubform.access = sAccess;
          

           

          where topSubform is the top level container of your form. This will obviously only work when the form is rendered/saved as a pdf