extended form API a bit

--HG--
branch : 0.8