How populate field from another field input of the form?