Update userForm.jspx

Add a minor fix to take into account checkbox fields. This is not needed in the example but I am using this code in a project, so I am sharing in case somebody had the same issue.