updated contact2 form logic