preview form macro for preview page