Much much progress today with ZPTs and FormEncode.  Here's the latest set of questions from our team--suggestions and corrections gratefully accepted:

I am having a problem with formencode:
When I feed html to into an htmlfill.FillingParser instance, this piece of the html
<select name="aircraft"><option value="N103XA"> N103XA </option><option value="N104XA"> N104XA </option><option value="N105XA"> N105XA </option></select>

becomes
<select name="aircraft"><option value="N103XA"></option><option value="N104XA"></option><option value="N105XA"></option></select>

I commented out this line in the handle_option function in htmlfill.py:
self.skip_next = True
When I ran it again with the same html input, I got this (which is correct):
<select name="aircraft"><option value="N103XA"><option value="N103XA"> N103XA </option><option value="N104XA"><option value="N104XA"> N104XA </option><option value="N105XA"><option value="N105XA"> N105XA </option></select>

I tried running the same piece of html through, but with carriage return line feeds after some of the options (this was generated by a zpt template)

<select name="aircraft"><option
value="N103XA"> N103XA </option><option value="N104XA"> N104XA </option><option
value="N105XA"> N105XA </option></select>
becomes
<select name="aircraft"><option value="N103XA"><option
value="N103XA"> N103XA </option><option value="N104XA"><option value="N104XA"> N104XA </option><option value="N105XA"><option
value="N105XA"> N105XA </option></select>


Cheers!
--
David Hancock | dhancock@arinc.com | 410-266-4384