4 Replies Latest reply on May 19, 2008 8:01 AM by gwhPoster

    Sending .fdf file via email + exiting full screen mode

    gwhPoster Level 1
      Hi everyone,

      I have the following code attached to a button on a pdf form that sends the form data in a .fdf file via email:

      var f = this.getField("useraddress");

      this.mailForm(true, f.value, "", "", "RSVP");

      Apparently the following line gets the user address from a field:

      var f = this.getField("useraddress");

      I created a field called "useraddress" and set it to be hidden but I don't know how to have my email address continually popuate this field so that it can be used in the above code to automatically send the .fdf file to my address.

      Would someone be able to tell me how I'd do this?

      Also just one other question if that's okay?

      The pdf is set to open up in full screen mode automatically. I want to add a button that will take the viewer out of full screen mode but I'm not sure what the code would be to do this. Can someone tell me how to do this also?

      Thanks in advance for any help.