How to add Validation message and preview form