The underline fields are not very obvious to users, so they take longer to understand that they have a form to fill out.
Rectangles with visible borders are instantly understood.
Underline fields take longer to be understood as a form.
If you have any research evidence, that this tip does not work in specific conditions, please share it with us. We will expand the database with that particular case to grow the collective knowledge together.