Setting conditions to update a form field value are inserting numbers on three fields instead of text