Skip to content

Instantly share code, notes, and snippets.

@hailwood
Created December 1, 2015 22:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hailwood/2938d0d446f3ffec1ef4 to your computer and use it in GitHub Desktop.
Save hailwood/2938d0d446f3ffec1ef4 to your computer and use it in GitHub Desktop.
---FIELDS---
ApplicationType:
- empty (radio buttons - non selected yet)
- Individual
- Joint
NZResidentIndividual:
- empty (radio buttons - non selected yet)
- Yes
- No
NZResidentJoint:
- empty (radio buttons - non selected yet)
- Yes
- No
ErrorMessage:
- String
---LOGIC---
If ApplicationType === "Individual"
- Show NZResidentIndividual
- If NZResidentIndividual === "No"
- Show Error
If ApplicationType === "Joint"
- Show NZResidentJoint
- If NZResidentJoint === "No"
- Show Error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment