better form parsing (<options>)