reorganizing validation input form