Populate form
add function of validate data