validation of forms in the bottom