I have a case that requirements to fill a specific form for a state. I have 10 states each one with its own form. I set a variable “state” which will indicate me which form I need to use. For ex: if state = CA then use CA form.
This being said, I’m looking for best practices on how to create that. My first idea is to create 10 IF statements. Ex:
IF state = CA; then use CA form;
If not IF state = FL then use FL form;
IF not IF state = CO … and so on until all the 10 states are completed.
Any recommendations? And/or better approach?