Client-side validation was not working for phone fields since intl-tel-input wraps the input in a div.

Also server-side validation was not functioning for required fields.  We were checking that the $name in
the array was not empty.  We should have been checking that the posted value with the name was not empty.