Hiding/Showing fields on load doesn't work
When loading a form to be edited, I have the code:
if (input.Completed_Bio)
{
show First_Call_Outcome;
if (First_Call_Outcome == "Yes")
{
show first_call_yes;
show Occurrence;
}
}
I tried this on a record where Completed_Bio = true and First_Call_Outcome = "Yes". "First_Call_Outcome" shows up when the form is loaded but first_call_yes and Occurrence do not. I've tried it with the if statements nested and unnested. first_call_yes and Occurrence shows up if you click on yes (even though "Yes" is already selected) but I want to show those fields right away when the form loads to help the other users see the information right away.
What can I do to make this happen?