Refactored fh_appform_field_required