Foreign National Information

NOTE

This is a detailed documentation for this project. If you would like to get a birds-eye view (Tl;dr) version, please reference /wiki/spaces/FEB/pages/8641151574.

Application Maintenance

<TODO>Rush's notes</TODO>

Modifying the diagram above? Start with this project's Draw.IO File.

Requirements

Customer Request List

Task #TaskDeveloper NotesTypeStatus
1Please change Heading to UConn Tax & Compliance Department
Modify Existing

COMPLETE

2If answered yes to married, please change follow up question to “Is your spouse a U.S. citizen, Green Card Holder, or U.S. Tax Resident?  
Modify Existing

COMPLETE

3Please change description for Social Security Number field to also include ITIN.  “Social Security Number or Taxpayer Identification Number”
Modify Existing

COMPLETE

4Please add a “Not Applicable” option for “Type of Employee” and “What UConn department are you working for?”.  I don’t want to remove these questions because there are instances when we will be handling employees but a lot of the NRAs that our department meets with will not be employees. 
New

COMPLETE

4The “Postal Code” should be a required field under Foreign Address
Modify Existing

COMPLETE

6

Please change question wording to “Did you live in a different country than the one listed as your Foreign Residence prior to coming to the United States?”  (This should be a required question.) Please remove the address section the pops when you select yes. In place of the address section please add the following two questions which should be required fields. 


Modify Existing

COMPLETE

7

If Yes to #6, above, Add two additional questions:


What country did you live in?                                                         
How long did you live there?                                               (in months)


New

COMPLETE

8

Next to Passport Number can we add a little pop up picture that shows were the passport number is located on the passport.  Same with the visa number.  I see that you added small blue print under the visa number field to address this question but I wonder if a picture would be more helpful.  We can blur out the numbers from an actual passport or find an example online to use. We always get questions about what number they are supposed to enter. 


Clarified from   Email:

Maybe it can be a pop up image if they hover over the field…..is that possible? I’ve attached the images I would like to add next to each of the following fields:

  • Passport Number
  • Visa Number
  • Attach passport pages that show entry and exit stamps


Note: Attachments sent have been added to this doc. for reference purposes.

Please note: The way the form displays the example images is subject to change, based on user feedbackNew

COMPLETE

9

Please rephrase “Have you ever had another immigration status/visa type in the US” to “Have you previously been issued a U.S. visa other than your current U.S. visa?"


Modify Existing

COMPLETE

10

If Yes to #9, add 5 (10 total) additional fields:


Previous U.S. Visa Type __________   Year Issued__________

Previous U.S. Visa Type __________   Year Issued__________

Previous U.S. Visa Type __________   Year Issued__________

Previous U.S. Visa Type __________   Year Issued__________

Previous U.S. Visa Type __________   Year Issued__________


New

COMPLETE

11Please change “Attach page 1 of Passport” to “Attach identification page of passport”
Modify Existing

COMPLETE

12I’d like to request another attachment.  *Attach passport pages that show entry and exit stamps. 
New

COMPLETE

13Please change “attach Visa page of passport” to “Attach your current U.S. visa and any prior U.S. visas”
Modify Existing

COMPLETE

14Very last attachment request, the i should be capitalized.  Please change to I-20.  Also, please put a dash for DS-2019.
Modify Existing

COMPLETE

15At the bottom, before they hit submit, can we add a small check box for a certification statement that says, “I hereby certify that my answers are true and accurate to the best of my knowledge.  I understand that if any of this information changes, I must inform the Tax & Compliance Department.”
New

COMPLETE

16 Under What department are you working for? – the very first drop down option should be NOT APPICABLE, NON-EMPLOYEE
New

COMPLETE

17Please change the date format for “passport expiration date” to be month/day/year
Modify Existing

COMPLETE

18For the question “Have you previously been issued a U.S. visa other than your current U.S. visa?”, we should only show the underlying fields when the person selects “yes”.
Modify Existing

COMPLETE

19

If Yes to #18, above, add 2 (4 total) additional fields:


If the person answers yes – then following fields pop up:

Previous U.S. Visa Type __________   Year Issued__________

Previous U.S. Visa Type __________   Year Issued__________

Please note: This is a modification to Task #10, above... Instead of 5 such fields, it now show only 2.Modify Existing

COMPLETE

20For the last attachment, please add a hyphen so it reads I-94.
Modify Existing

COMPLETE

21

Add the following language to the form, which would fulfill the UConn Information Technology Services' IT Security Office's requirement of notifying/educating individual filling out the form, as to why the SSN/ITN number is being elicited from them—


Regarding the request by the University of Connecticut for your Taxpayer Identification Number(“TIN”) or Social Security Number(“SSN”):

Pursuant to IRS Treasury Regulations §1.6050S-1(a) and §1.1461-1(c)(1), UConn is required to file information returns (Form 1098-T and Form 1042-S) annually to report payments of qualified tuition and related expenses and payments of income to nonresident aliens.  IRS Treasury Regulation §1.6050S-1(b)(2)(ii) requires Form 1098-T to include the taxpayer identification number of the enrolled student.  IRS Treasury Regulation §1.1461-1(c)(3)(vi) requires Form 1042-S to include the taxpayer identification number of the payee if known by withholding agent or if required under Treasury Regulation §1.441-1(e)(4)(iii) which states that a withholding certificate from a nonresident alien will be deemed invalid without a taxpayer identification number when the nonresident alien is claiming an exemption from nonresident income tax withholding.  If the University fails to report a TIN when one is required or reports an incorrect TIN, the University may be subject to reporting penalties and interest under Internal Revenue Code §6721.

Please note: This has been added within the section at the beginning of the form. Placement and the way it is displayed is subject to change, per user feedback.

New

COMPLETE


UNDER U.A.T.


22

Next to UConn Employee ID include “, if applicable”



COMPLETE

23

Next to UConn student ID, please add a  and add the attached image of the HuskyOne Card.

Partially complete; waiting on the example image to be uploaded, so that the correct image is shown in the pop-up; however, the code logic has been done.

COMPLETE

24

If the person selects “NOT APPLICABLE, NON-EMPLOYEE” for the question, “What UConn department are you working for?”, can we gray-out or inactivate the “type of employee” question that follows it?  I can totally see individuals selecting “student” even if they are not going to be employed by the University.  If we can’t inactivate this section, I would put “Not Applicable” at the very top and change it to say, “Not Applicable, not a UConn employee”.  Put the “student” answer 4th in the list after 1) Not Applicable, not a UConn employee, 2) Faculty, 3) Staff.  If it’s the first option, it will be selected erroneously even if the student is not going to be employed by the University.

Recommendation: We could present an overarching choice: Are you a UConn Employee, Student, or Both?


If They select UConn Employee, the following two fields show:

  • What UConn department are you working for?
  • Type of Employee


If the user selects Student, then the following field shows up:

  • What type of student are you?
    • If the selection here is Other, the If Other, please specify field shows up


If they select Both, all three fields from above show up.


COMPLETE

25

Please use the attached edited photo the  next to Passport Number.  I feel more comfortable using one that has less details

Waiting on the example image to be uploaded, so that the correct image is shown in the pop-up

COMPLETE

26

When a person selects “yes” to have you ever been issued a US visa other than your current visa, this is what pops up:


PLEASE REPLACE THIS SECTION WITH the same table being used by the Payroll dept except we’d like to remove the other column.  Please format all date fields to be month/day/year.



COMPLETE

27For the attachments…..there does not appear to be a way to attach more than one pdf document to each request.  For example, if a person needs to upload more than one U.S. visa, there should be an option to add more than one pdf for that specific request.

In a MS Teams meeting, Laura mentioned that ideally she would like to have an extra attachment for Visa and an extra attachment for entry/exit stamps... totaling 7 attachments for the form—right now, we have 5—however, she mentioned that she is fine with 5.

In order to avoid any confusion for the user filling out the form, a language was added to the top of the attachments section.


NOT DOING

28Underneath the attachments, can you add a note that says the following, “If you do not have one of the documents that is required to be attached to this application, please save this application in draft form and send an email with your name and contact info to taxcompliance@uconn.edu and we will advise you how to proceed.”

COMPLETE

29

After the person submits the form, we get an email with a link to the form.  When we click on the link to the form, there is a button on the very bottom of the form that says “generate pdf”.


The pdf form that is generated does NOT match the online form that was submitted. The pdf form that is created appears to be using the Payroll Dept’s Foreign National form. It appears as though our answers are trying to be entered into the Payroll department’s form. The questions and answers don’t line up.




COMPLETE

30When a pdf of the submission is created, is it possible to include all the attachments in the pdf copy so it’s one big pdf fileSystem limitation: Leap cannot combine all the PDFs into one big pdf, unfortunately.

NOT DOING


User Provided Attachments

  File Modified

PNG File questionIcon.png

Jul 30, 2020 by Rushikumar (Rush) Bhatt

JPEG File current1.jpg

Jul 30, 2020 by Rushikumar (Rush) Bhatt

JPEG File future1.jpg

Jul 30, 2020 by Rushikumar (Rush) Bhatt

JPEG File current2.jpg

Jul 30, 2020 by Rushikumar (Rush) Bhatt

JPEG File passport-photo 2.jpg

Jul 30, 2020 by Rushikumar (Rush) Bhatt

PNG File UConn Student ID.png

Jul 30, 2020 by Rushikumar (Rush) Bhatt

JPEG File passport stamps image.jpg

Jul 30, 2020 by Rushikumar (Rush) Bhatt

JPEG File USA visa image.jpg

Jul 30, 2020 by Rushikumar (Rush) Bhatt

Technical Notes

Events

Global JavaScript

Application onStart

Code DescriptionInclusion Justification (i.e. why are you doing this?)
Add addition methods to  dojo.NodeList Allows for easier manipulation of HTML as it relates to the nodes in the dojo.NodeList. More information at https://dojotoolkit.org/reference-guide/1.10/dojo/NodeList-manipulate.html
Add UConn Branding / Header etc. by referencing a CSS file that is centrally located/managed (at media.feb.uconn.edu server)Ummm.... branding? standards?

Form Event

Code DescriptionWhat is being done?
onNew
  1. Call SC_GetUser service which pre-populates certain fields for the user who is filling out the form (i.e. initiating the request) — information is fetched based on authenticated user's NetID
  2.               Call SC_GetDeptList service. This populates the "What UConn department...?" dropdown initally with:
                
orgCode = Foreign National Form > Personal Information > What UConn department are you working for? > Options > Saved Value

orgName = Foreign National Form > Personal Information > What UConn department are you working for? > Options > Displayed Value
  • We are binding to onCallFinished so that we can do couple of things:
    • Create a new array of selectable options; next, with the new array the first thing we do is add the first option that should be displayed/selectable by the user, per customer request: "NOT APPLICABLE, NON-EMPLOYEE"
    • Then, we iterate through the current options and combine the `Saved value and Displayed value` to create a `Department Name — Code` string per each current option, and before moving to the next option in the list we add this new to the new array
    • Finally, we set the "What UConn department...?" dropdown with the `new array`
  • This allowed us to eliminate the hidden dropdown altogether and improve the QoC (Quality of Code)
  • One last improvement we did was; we moved this logic from onLoad to onNew... we do not need to execute the service call each time a form is loaded... because once the Record Initiator  submits, if we had left it in onLoad, the code would have executed it again...Why? So overall, albeit minuscule, we improved the form's performance over the life of it

External Libraries Used

LibraryReason for InclusionWhere used?
jQuery Slim v3.5.1Pre-requisite for using Help UtilsN/A - Its a pre-req for using Help Utils
Help Utils v1.4

For providing a  icon which, upon clicking it, show a dialog box with specified (HTML) content


Form Events

 Explanation Conventions/Keys
What is being done — Tl;drWhat is being done - LONG Explanation
  • Is Dependent
This field is only exposed if it triggers a rule based on what the user selects in the field specified under the Field Dependency column.
  • Blanking
When the field gets hidden from view, set this field's value to "". In the event that the user made a selection for this field and later selected a different value for a field (specified under Field Dependency column) which would result in this field being hidden



  • COMBO: Is DependentBlanking

This field is only exposed if it triggers a rule based on what the user selects in the field specified under the Field Dependency column.

When the field gets hidden from view, set this field's value to "". In the event that the user made a selection for this field and later selected a different value for a field (specified under Field Dependency column) which would result in this field being hidden

  • Pop-up dialog

Attaches a  icon to this field; upon clicking this icon, a dialog box is shown with specified (HTML) content

#FieldEvent TypeField DependencyWhat is being done?
1

F_GeneratePDF

onClick
When designated user clicks this button, a service is called which will map user provided information from the form to a source PDF (supplied by Tax and Compliance). All mappings are done within the service itself. Ref service for mapping-specific information.
2

F_Spouse

onHideF_Married = Yes
  • COMBO: Is DependentBlanking
3

F_NumberOfChildren

onHideF_Married = Yes
  • COMBO: Is DependentBlanking
4

F_Department

onItemChange
If NOT APPLICABLE, NON-EMPLOYEE option is selected from this drop-down, we hide F_EmployeeType field — could not use a rule to accomplish this, as the drop-down is programmatically generated
5F_EmployeeTypeonHideF_SL_DeptSelected != NOT APPLICABLE, NON-EMPLOYEE
  • COMBO: Is DependentBlanking
6F_TypeOfStudentonHideF_EmployeeType = Student
  • COMBO: Is DependentBlanking
7

F_StudentTypeOther

onHideF_TypeOfStudent = Other
  • COMBO: Is DependentBlanking
8

F_PassportNumber

onShow
  • Pop-up dialog
9

F_VisaNumber

onShow
  • Pop-up dialog
10

F_AttachPassportPages

onShow
  • Pop-up dialog
11

F_StudentID

onShow
  • Pop-up dialog
12

F_ImmigrationOther

onHideF_ImmigrationStatusChoic = Other
  • COMBO: Is DependentBlanking
13

F_J1orJ2

onHide

F_ImmigrationStatusChoic = J-1 Exchange Visitor


or


F_ImmigrationStatusChoic = J-2 Spouse or Child of Exchange Visitor

  • COMBO: Is DependentBlanking


Settings

Files

File NameInclusion Justification (i.e. why are you adding this?)







Services

Service NameWhy did you create this service and what does it do?









Post Production/Go-Live Enhancements

v1.1

Task #TaskDeveloper NotesTypeStatus
1Change the Action Confirmation Message, of when the user submits the form, as requested
Enhancement

COMPLETE

2

Change the Confirmation Email that the user receives after submitting the form, as requested

  •  Follow-up request: Added Salutation
  •  Follow-up request: Added T&C Dept. signature

Enhancement

COMPLETE

3If the user saves the form as a draft PRIOR TO selecting a department, the next time the user goes back to the form (i.e. resumes the draft), the department list won't be populated / i.e. the drop-down won't be populated with the list of departments that the user can pick fromI noticed this while I was doing (dev) testing... so I rectified this bug by moving the logic that populates department dropdown from "onNew" event to "onLoad" — apparently, as soon as the user saves the form as a draft, it is no longer considered a "New" form...Bug Fix

COMPLETE

4Since the SSN/TIN field is: not required AND part of the section that auto-populates, the customer was concerned that the user might skip over that field... so requested if the field could be highlighted...The field had a custom class already; all that was needed to be done was some jQuery magic (wink)Enhancement

COMPLETE