How to keep the design in form in preview?