{"id":288,"date":"2010-04-12T10:48:40","date_gmt":"2010-04-12T09:48:40","guid":{"rendered":"http:\/\/www.venco.com.pl\/~cozy\/blog\/?p=288"},"modified":"2010-04-12T10:48:40","modified_gmt":"2010-04-12T09:48:40","slug":"email-form-as-pdf-not-xml","status":"publish","type":"post","link":"http:\/\/u239160.webh.me\/jakisproblem.pl\/index.php\/2010\/04\/12\/email-form-as-pdf-not-xml\/","title":{"rendered":"Email form as PDF, not XML"},"content":{"rendered":"<p>1<\/p>\n<p>You can change your button from an &#8222;Email submit button&#8221; to a plain old &#8222;Button&#8221;. Then in the Object tab specify the Control Type as &#8222;Submit&#8221;. This will give you a Submit tab.<br \/>\n<!--more--><br \/>\nOn the Submit tab set the Submit to URL field to be mailto:mailaddress (for example: mailto:me@mydomain.com). In the Submit As dropdown select PDF.<\/p>\n<p>By using a regular button (over an Email button) you get the additional control of the Submit As.<\/p>\n<p>2<\/p>\n<p>You can still use the standard Submit Mail button, but you will need to make one small change. Select the Submit Mail button in the &#8222;Design View&#8221; tab. Then, click the &#8222;XML Source&#8221; tab. You should enter the source code with the &#8222;field&#8221; tag hilighted. Search below this tag for the &#8222;submit&#8221; tag. In this tag, you will see a parameter for &#8222;format&#8221;. The default is 'xml&#8217;. Change this to 'pdf&#8217;, and the document will be sent as a pdf doc.<\/p>\n","protected":false},"excerpt":{"rendered":"<p class=\"excerpt\">1 You can change your button from an &#8222;Email submit button&#8221; to a plain old &#8222;Button&#8221;. Then in the Object tab specify the Control Type as &#8222;Submit&#8221;. This will give you a Submit tab.<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"http:\/\/u239160.webh.me\/jakisproblem.pl\/index.php\/2010\/04\/12\/email-form-as-pdf-not-xml\/\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[30],"class_list":["post-288","post","type-post","status-publish","format-standard","hentry","category-bez-kategorii","tag-pdf"],"_links":{"self":[{"href":"http:\/\/u239160.webh.me\/jakisproblem.pl\/index.php\/wp-json\/wp\/v2\/posts\/288","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/u239160.webh.me\/jakisproblem.pl\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/u239160.webh.me\/jakisproblem.pl\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/u239160.webh.me\/jakisproblem.pl\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/u239160.webh.me\/jakisproblem.pl\/index.php\/wp-json\/wp\/v2\/comments?post=288"}],"version-history":[{"count":0,"href":"http:\/\/u239160.webh.me\/jakisproblem.pl\/index.php\/wp-json\/wp\/v2\/posts\/288\/revisions"}],"wp:attachment":[{"href":"http:\/\/u239160.webh.me\/jakisproblem.pl\/index.php\/wp-json\/wp\/v2\/media?parent=288"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/u239160.webh.me\/jakisproblem.pl\/index.php\/wp-json\/wp\/v2\/categories?post=288"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/u239160.webh.me\/jakisproblem.pl\/index.php\/wp-json\/wp\/v2\/tags?post=288"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}