add form preview
Merge pull request #218 from lampslave/master

add form preview