validation done on contact field in party_edit.php
errror in validation corrected