save and preview form templates