<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
   <channel>
      <title>SteveX</title>
      <link>http://blogs.adobe.com/stevex/</link>
      <description>Steve Tibbett&apos;s Development Blog.</description>
      <language>en</language>
      <copyright>Copyright 2007</copyright>
      <lastBuildDate>Thu, 23 Aug 2007 11:33:08 -0500</lastBuildDate>
      <generator>http://www.sixapart.com/movabletype/?v=3.2</generator>
      <docs>http://blogs.law.harvard.edu/tech/rss</docs> 

            <item>
         <title>LiveCycle Workbench ES Demo</title>
         <description><![CDATA[<p>Over on the <a href="http://www.adobe.com/devnet/livecycle/">Adobe LiveCycle Developer Center</a>, there's a short video tutorial I recorded on what it's like <a href="http://www.adobe.com/devnet/livecycle/articles/workbench_tutorial.html">using LiveCycle Designer in Workbench</a>.<p></p>

<p>It's not a tutorial so much as it is a quick tour, but if you're curious about LiveCycle, Designer, Workbench and how they interact, have a look.<br />
</p>]]></description>
         <link>http://blogs.adobe.com/stevex/2007/08/livecycle_workbench_es_demo.html</link>
         <guid>http://blogs.adobe.com/stevex/2007/08/livecycle_workbench_es_demo.html</guid>
         <category>General</category>
         <pubDate>Thu, 23 Aug 2007 11:33:08 -0500</pubDate>
      </item>
            <item>
         <title>HTTP POST Update</title>
         <description><![CDATA[
	<p>I haven't posted in a little while, but I'm going to try to get back into it.&#160;Famous last words, I know, but I'll start with a post with some real content in it. </p>
	<p>Quite a few people have commented on an entry I <a href="http://blogs.adobe.com/stevex/2006/05/http_submit.html">posted</a> back over a year ago, where I talk about the data format that's POSTed from a form to an HTTP server.&#160; The data format is supposed to look something like this: </p>
	<p> <tt>TextField1=test1&amp;TextField2=test2&amp;RichTextField=&amp;ListBox1=&amp;RadioButtonList= </tt></p>
	<p>However, some of you said that you were getting data that looked like this:</p>
	<p> <tt>TextField1=test1TextField2=test2RichTextField=ListBox1=RadioButtonList= </tt></p>
	<p>This was actually a bug in Acrobat 8.0, and is fixed in the 8.1 update.&#160;If you're running Acrobat 8.0, allow the Adobe Updater to install Acrobat 8.1 and you'll get the data in the correct format.</p>
	<p> <BR/>
    </p>
	]]></description>
         <link>http://blogs.adobe.com/stevex/2007/06/http_post_update.html</link>
         <guid>http://blogs.adobe.com/stevex/2007/06/http_post_update.html</guid>
         <category></category>
         <pubDate>Wed, 20 Jun 2007 12:00:28 -0500</pubDate>
      </item>
            <item>
         <title>LiveCycle Designer 8</title>
         <description><![CDATA[<p>Acrobat 8 has been <a href="http://www.adobe.com/products/acrobat">announced</a>, and we're in the <a href="http://www.adobe.com/products/acrobatpro/">Acrobat 8 Professional</a> box so we share a little bit of that spotlight.</p> <p>There's a lot to talk about with version 8.&nbsp; One of the big new features is a new type of form designed for users who need to take an existing form (either scanned or generated in some other program) and make it an interactive, fillable form while preserving the exact look of the original form.&nbsp; Just what you'd expect from PDF.&nbsp; We'll be talking about this more once more infomation on the product has been released.</p> <p>On a related note, it's great to see Breeze getting the spotlight through it's rebranding as <a href="http://www.adobe.com/products/acrobatconnect/">Acrobat Connect</a>.&nbsp; Breeze is the best collaboration tool I've used.</p>]]></description>
         <link>http://blogs.adobe.com/stevex/2006/09/livecycle_designer_8.html</link>
         <guid>http://blogs.adobe.com/stevex/2006/09/livecycle_designer_8.html</guid>
         <category></category>
         <pubDate>Mon, 18 Sep 2006 11:37:30 -0500</pubDate>
      </item>
            <item>
         <title>MAX</title>
         <description><![CDATA[<p>I'm not going to&nbsp;<a href="http://www.adobe.com/events/max/">MAX</a> this year.&nbsp; I went last year, though, and had a great time.&nbsp;</p> <p>Last year's MAX experience for me was mostly about discovering that the Flash player has become a serious virtual machine and runtime for even CPU-intensive applications, thanks to its ability to compile ActionScript down to native code.&nbsp; There's even a <a href="https://mirror1.cvsdude.com/trac/osflash/fc64/">Commodore 64 emulator for Flash Player 9</a>.&nbsp; </p> <p>And it was about discovering <a href="http://www.adobe.com/products/flex/productinfo/overview/">Flex</a>&nbsp;and <a href="http://www.adobe.com/products/flex/flexbuilder/">Flex Builder</a>, the <a href="http://www.eclipse.org/">Eclipse</a>-based IDE that you use to build Flex apps.&nbsp; I had no experience with Flex before MAX; now it's near the top of my "things to dive into more deeply" list.</p> <p>Last year, MAX happened just before the Adobe / Macromedia merger was finalized, so there wasn't any official Adobe sessions; this year, MAX has a track for <a href="http://www.adobe.com/events/max/agenda/by_track.html#livecycle">Adobe LiveCycle Technologies</a>.</p> <p>This year Flash and Flex folks will have the opportunity to discover LiveCycle the way we LiveCycle folks had the opportunity last year to discover Flash and Flex.</p> <p>If you're in that boat, don't miss Matt Butler's session on <a href="http://www.adobe.com/events/max/sessions/lt201s.html">Adobe's Core LiveCycle Architecture and Hands On Deployment</a>, and Sanga Viswanathan's session, <a href="http://www.adobe.com/events/max/sessions/lt203w.html">LiveCycle 8: What's Coming</a>.&nbsp; </p>]]></description>
         <link>http://blogs.adobe.com/stevex/2006/09/max.html</link>
         <guid>http://blogs.adobe.com/stevex/2006/09/max.html</guid>
         <category></category>
         <pubDate>Thu, 14 Sep 2006 11:15:28 -0500</pubDate>
      </item>
            <item>
         <title>Acrobat Typewriter Tool</title>
         <description><![CDATA[<p>Working for Adobe, I have access to Adobe software.  Acrobat is a tool I don't think I would have considered buying before starting with Adobe, but after using it for the last two years, I can say it's right up there with Microsoft Office as one of the things I'd have to have on a new computer.</p>

<p>I was reminded of this just recently, when I was filling out the Tarion 30 day warranty form for my new house.  </p>

<p>I received a paper copy of this form as part of the huge stack of documents I got when the house sale closed, but after compiling a list of ~30 items, I just didn't feel like writing it all out.  That's where Acrobat comes in.</p>

<p>Fillable forms come in two flavours:  XFA and Acroform.  Acroform forms are forms where you've placed the input fields on the form using Acrobat itself; XFA forms are forms created using the Form Designer tool.  </p>

<p>I found the forms online, but they're not fillable.  This is pretty common - form authors create forms using something like Illustrator or InDesign, and then create a PDF from that and just post it online, rather than taking the extra step of importing that into Form Designer and adding fields.</p>

<p>But Acrobat has a feature that's designed for this specific problem:  The Typewriter Tool.</p>

<p>I loaded up the Tarion form, got out my handy typewriter, and filled out the form.  Printed it, signed it, and faxed it off.  </p>

<p>The nice thing about doing it this way is that as I was filling out the form, quite a few times I had to go back and edit something; if I was filling it out on paper, that would have been impossible.  I could have filled out a draft on paper and then copied it to the real form, but that's just more work.</p>

<p>What would the next best thing have been?  Loading a bitmap of the form into PhotoShop and filling it out there, I guess - doable, but not nearly as easy.</p>]]></description>
         <link>http://blogs.adobe.com/stevex/2006/09/acrobat_typewriter_tool.html</link>
         <guid>http://blogs.adobe.com/stevex/2006/09/acrobat_typewriter_tool.html</guid>
         <category>General</category>
         <pubDate>Sun, 03 Sep 2006 10:45:18 -0500</pubDate>
      </item>
            <item>
         <title>Flex 2 is Done!</title>
         <description><![CDATA[<p>This is very cool.   <a href="http://www.adobe.com/products/flex/">Flex</a> is the best way to create a rich Internet application.  I love the Flex Builder IDE, and the fact that Flex's MXML markup makes it really easy to create a rich UI with a lot of the interactivity that you have to work really hard to get out of AJAX, and with a responsiveness that you just cant get anywhere else.</p>

<p>It can seem like we have two products competing for the same sort of market, in that we have Form Designer and PDF forms, and then we have Flex Builder and RIA's.  But these are really two different things, and serve different purposes.</p>

<p>It comes down to the difference between a "Dynamic Document" and a "Rich Internet Appplication".  </p>

<p>With Flex, the focus is on the application.  The application loads, and then maybe fetches some data, or maybe lets you create some data; but what matters is the application.  </p>

<p>With PDF Forms, the document is the focus.  You can sign the document, encrypt it, run validations on the data it contains, and so on, but it all revolves around the document.</p>

<p>You wouldn't build a shopping cart with Form Designer, but you wouldn't create an invoice with Flex.  Each tool has its place.</p>

<p>There's going to be some real power around the combination of these two.  </p>]]></description>
         <link>http://blogs.adobe.com/stevex/2006/06/flex_2_is_done.html</link>
         <guid>http://blogs.adobe.com/stevex/2006/06/flex_2_is_done.html</guid>
         <category></category>
         <pubDate>Wed, 28 Jun 2006 13:24:08 -0500</pubDate>
      </item>
            <item>
         <title>Submit to PHP</title>
         <description><![CDATA[<p>A common request in the comments on the <a href="http://blogs.adobe.com/stevex/2006/05/http_submit.html">HTTP Submit</a> post is how to retrieve the values from PHP, so I've created a simple sample just to demonstrate that clearly.</p>

<p><a href="http://blogs.adobe.com/stevex/files/SimpleSubmitSample.pdf">PHP Submit Sample</a></p>

<p>This sample has a couple of text fields which, when submitted using either of the buttons on the form, echoes the text back to you by the PHP code on the server.  The server code is also included in the form.<br />
</p>]]></description>
         <link>http://blogs.adobe.com/stevex/2006/06/submit_to_php.html</link>
         <guid>http://blogs.adobe.com/stevex/2006/06/submit_to_php.html</guid>
         <category></category>
         <pubDate>Mon, 05 Jun 2006 22:01:09 -0500</pubDate>
      </item>
            <item>
         <title>Submit Format</title>
         <description><![CDATA[<p>I posted about what the data looks like when you submit a form using an HTTP Submit Button, but there are other ways of submitting forms.</p>

<p>I've created a <a href="http://blogs.adobe.com/stevex/files/SubmitComparison.pdf">Submit Comparison</a> PDF that has a few fields on it, and buttons for the four different types of data submission that Acrobat supports.</p>

<p>These are: XDP, PDF, XML, and URL-encoded.</p>

<p>URL-encoded is what the HTTP Submit Button does; to use one of the other formats, drop a Button onto your form, set the Control Type to Submit, and then you can use the Submit tab on the Object Inspector to control how the data is submitted.</p>

<p>Submitting in XDP format gives you XML data that includes an xfa:data model, as well as an execEvent node that identifies which button the user pushed to submit the form.  This provides the most data.</p>

<p>Submitting XML gives you the same data that you'd get if you emailed the filled out form data from Reader - it's an XML packet with a chunk of friendly human-readable text that describes how to submit the data.  The form data you get is the same as what you get with the XDP format, but without the xfa wrappers.</p>

<p>Try out the PDF file I linked above - the Submit button posts to my dump.php script so you can see what actually got submitted.</p>]]></description>
         <link>http://blogs.adobe.com/stevex/2006/05/submit_format.html</link>
         <guid>http://blogs.adobe.com/stevex/2006/05/submit_format.html</guid>
         <category>General</category>
         <pubDate>Tue, 23 May 2006 16:38:16 -0500</pubDate>
      </item>
            <item>
         <title>HTTP Submit</title>
         <description><![CDATA[<p>There are a number of different ways to submit a form, and which one is right depends on context. When your form is part of a workflow created with Adobe's <a href="http://www.adobe.com/products/server/workflowserver/index.html">Workflow Server</a>, you need to submit using the LiveCycle Workflow fields:</p>
<p><img
src="http://blogs.adobe.com/stevex/images/workflowfields.gif"
width="354" height="84" /></p>
<p>These ensure that the user has the controls they need for the state they're at in the workflow.</p>
<p>Outside of Workflow, you can still create forms that integrate with server side processes. Form Designer and Reader support two methods for submitting data: submitting form data as <em>application/x-www-form-urlencoded</em> using HTTP POST, and SOAP. The former is what I'm talking about in this post.</p>
<p>When you create an HTML form, you add some HTML fields, and a URL to POST to as the &lt;form&gt; tag's action. For example:</p>
<pre>&lt;form method=&quot;post&quot; action=&quot;http://stevex.net/dump.php&quot;&gt;
 &nbsp; &lt;label&gt;TextField1
 &nbsp; &lt;input type=&quot;text&quot; name=&quot;TextField1&quot; /&gt;
 &nbsp; &lt;/label&gt;<br />&lt;/form&gt;</pre>
<p>I've created a simple PHP script that dumps out what you submit to it parsed (so you can see what variables PHP found in the submitted data) as well as the raw POST body. The script is <a href="http://stevex.net/dump.php">here</a>. Typing &quot;hello&quot; into the text field and submitting this form shows that the following data was sent to the action URL:</p>
<pre>TextField1=hello</pre>
<p>Simple enough. It gets more complicated when there are more fields or special characters need escaping; the exact details of how that works are spelled out in the HTML 4.01 spec section <a href="http://www.w3.org/TR/html4/interact/forms.html#h-17.13.4.1">17.13.4</a> which covers <i>application/x-www-form-urlencoded</i> encoding, the MIME type that form data is submitted with.</p>
<p>So that's how HTML submit works. What happens when you create a form with Form Designer and want to submit it using HTTP?</p>
<p>Here's how to create a form equivalent to that little HTML form described above.</p>
<ol>
  <li>Create a new form.</li>
  <li>Add some fields.</li>
  <li>Drop an HTTP Submit  Button from the Library.</li>
  <li>Configure the HTTP Submit Button.  </li>
</ol>
<p align="left">After step 3, you'll have a Submit button on the form, with a  wee yellow marker. Hover the mouse over the marker and you'll see this message:</p>
<p align="left"><img
src="http://blogs.adobe.com/stevex/images/submitbuttonincomplete.gif"
width="421" height="132" /></p>
<p>This handy reminder just lets you know that you need to click on the Submit button and in the Object Inspector, set the URL that the form will be posted to to something. (I don't know about you but when creating HTML forms I've forgotten to enter the action URL more than once). </p>
<p>Designer's preview is actually an embedded Internet Exporer, with a temporary PDF rendering of your form loaded into it. This means clicking the Submit button in the preview window will submit your form and you can see the results of the submit right in Designer. </p>
<p><img
src="http://blogs.adobe.com/stevex/images/xdp-pdf-dump.gif"
width="458" height="377" /></p>
<p>Submitting from Acrobat is a bit more involved because Acrobat can't display the HTML response directoy, but what happens is actually pretty cool.  The HTTP submit happens, and the resulting HTML is captured by Acrobat and converted into a PDF, so you see the dump response page, but you see it in Acrobat as a PDF.</p>
<p>There are some limitations that come with submitting form data as HTTP. Because HTML forms aren't hierarchial, any hierarchy in your own form is lost - for example, nesting fields within subforms will cause them to not appear in the submitted data. These limitations are mentioned in Designer's documentation. </p>
<p>I've attached my <a href="http://blogs.adobe.com/stevex/HTTPSubmitSample.pdf">sample HTTP Submit PDF form</a>
 so you can have a look at a few different field types and how they look in the submitted data.</p>
<p>So that covers HTTP submit. You can do a lot more with SOAP than just submit data, but that's another story.</p>
<p>&nbsp;</p>]]></description>
         <link>http://blogs.adobe.com/stevex/2006/05/http_submit.html</link>
         <guid>http://blogs.adobe.com/stevex/2006/05/http_submit.html</guid>
         <category>General</category>
         <pubDate>Sat, 06 May 2006 10:38:00 -0500</pubDate>
      </item>
            <item>
         <title>For(u)m Designer</title>
         <description><![CDATA[<p>A few members of the Form Designer development team (including myself and <a href="http://blogs.adobe.com/formbuilder/">FormBuilder</a>) have been hanging out on and trying to answer questions in the <a href="http://www.adobeforums.com/cgi-bin/webx/?14@555.MERhgkXRohj@.3bb7d189">LiveCycle Designer forum</a>.  If you have any questions about forms or designing them, drop on by.<br />
</p>]]></description>
         <link>http://blogs.adobe.com/stevex/2006/05/forum_designer.html</link>
         <guid>http://blogs.adobe.com/stevex/2006/05/forum_designer.html</guid>
         <category>General</category>
         <pubDate>Fri, 05 May 2006 22:08:38 -0500</pubDate>
      </item>
            <item>
         <title>No Really, Scripting</title>
         <description><![CDATA[<p>I trust you're back, and you've installed Designer.  Welcome back.</p>

<p>If you haven't got a Form Designer to install, you can find a free Tryout version over <a href="http://www.adobe.com/products/server/adobedesigner/tryreg.html">here</a>.</p>

<p>All I wanted to mention today is one tip regarding scripting.</p>

<p>Often I fire up Designer to try something out, and today I was having trouble.  I added a button to my form, added a text field, and added some script that would run when the button was clicked.  But when I previewed the form and clicked the button, nothing happened.</p>

<p>When I saved the form as an XDP file, however, and then previewed and clicked the button, it worked fine.</p>

<p>This was a new computer I was trying this on, and I'd forgotten an important setting.  In the Options dialog, the first option on the first page of options is "Default file type for new forms".  </p>

<p><img alt="fileoptions.png" src="http://blogs.adobe.com/stevex/fileoptions.png" width="444" height="121" /></p>

<p>If this is set to the default of "Static PDF Form File", then your scripts won't run.  If you plan to be doing any scripting in Designer, then set this to "Dynamic PDF Form File".</p>

<p>The <a href="http://partners.adobe.com/public/developer/xml/index_arch.html">XFA</a> forms that Designer creates don't work in old versions of Acrobat Reader, which is why this option is off by default.  But if you're developing interactive forms, you'll probably want your users using a recent version of Reader, and having this option set to static forms by default means whenever you create a new form, none of the scripts you're writing will work until you actually save it to disk as an XDP file or interactive form.</p>]]></description>
         <link>http://blogs.adobe.com/stevex/2006/04/no_really_scripting.html</link>
         <guid>http://blogs.adobe.com/stevex/2006/04/no_really_scripting.html</guid>
         <category></category>
         <pubDate>Wed, 26 Apr 2006 12:19:54 -0500</pubDate>
      </item>
            <item>
         <title>Adobe Designer Scripting</title>
         <description><![CDATA[<p>I'm going to occasionally talk about Adobe's Form Designer in this blog, because that's what I work on.</p>

<p>Designer comes with Acrobat Professional, although it's not installed by default.  If you have Acrobat installed, and you don't have Designer, go dig out your Acrobat disc and install it.  I'll wait here.<br />
</p>]]></description>
         <link>http://blogs.adobe.com/stevex/2006/04/adobe_designer_scripting.html</link>
         <guid>http://blogs.adobe.com/stevex/2006/04/adobe_designer_scripting.html</guid>
         <category>General</category>
         <pubDate>Wed, 26 Apr 2006 12:17:24 -0500</pubDate>
      </item>
            <item>
         <title>Hello, World</title>
         <description><![CDATA[<p>There are a significant number of blogs in the world (I'd guess, at least 25% of all blogs created) whose only post is some equivalent of a "Hello, World" post.</p>

<p>So here's mine.  Hi!</p>

<p>Difference is, of course, that I'll be back.  </p>

<p>(But that's what they all say isn't it?  Stay tuned...)<br />
</p>]]></description>
         <link>http://blogs.adobe.com/stevex/2006/04/hello_world.html</link>
         <guid>http://blogs.adobe.com/stevex/2006/04/hello_world.html</guid>
         <category>General</category>
         <pubDate>Fri, 21 Apr 2006 19:50:44 -0500</pubDate>
      </item>
      
   </channel>
</rss>
