Skip to content

GuestReg - Third Fragment: Information required to be filled, even if its "prefer not to say" unless its household income

License and Copyright Notice

By submitting this issue or commenting on this issue, or contributing any content to this issue, you certify under the Developer Certificate of Origin that the content you post may be licensed under GPLv3 (for code) or CC-BY-SA 4.0 International (for non-code content).

Branch Name

issue_441_GUEST_REG_FOURTH_FRAGMENT_UPDATE_12_8_23

Related Issues

Issue 441 Guest Reg Fourth Fragment

Description

This merge request will be able to make it IMPOSSIBLE To skip the third fragment where crucial information is needed.

With this merge request i was also able to clear out code that was not needed and was able to develop the Dropdown listener method further but was not able to make it complete.

With this merge request i was also able to fix a back button crash which occurred at line 349 of third fragment due to a null point exception by using a try catch and also by removing the faulty code with more robust, simple code.

With this merge request i was also able to add LOGCAT messages for other developers to be able to debug/see what is being stored in each field.

EDIT 1 Able to remove the requirement of house hold income form the fragment. Now the database will be populated with actual data even if its "Chose not to answer" and wont be storing "null".

Steps to Test

(List the steps needed to test this merge request here using bullets, for ex:)

  1. get to the third fragment
  2. try to click next without having any fields submitted, try again with step 3
  3. try filling out a variable amount of fields and clicking next

Relevant Screenshots

N/A

Relevant Logs

D/ThirdFormFragment: Dietary: None, Diabetic, Low Salt, Kosher, Halal, Gluten-Free, I choose not to answer
D/ThirdFormFragment: SNAP: Yes
D/ThirdFormFragment: Other Programs: No
D/ThirdFormFragment: Employment Status: I am currently working, I am looking for employment, I am not currently working, I would like more education/training, I would like help with resume writing, I would like help with immigration counseling, I choose not to answer
D/ThirdFormFragment: Health Status: I have health insurance, I do not have health insurance, I do not know how to get health insurance, I have a primary care physician, I need a referral for physical or mental health treatment, I need a referral for drug/alcohol treatment, I choose not to answer
D/ThirdFormFragment: Housing Status: I have a safe and comfortable place to live, I am currently homeless or in danger of becoming homeless, I need housing, I choose not to answer
D/ThirdFormFragment: Income: 0

Developer Notes

back button still does not save fields.

Edited by Waseh Asad

Merge request reports