Capture user selection in form
I've created a form that contains two lookups. I've set up the lookups such that selecting a value from the first lookup populates the second lookup using the following code.
---------------------------------------------------------------------------------------------
temp = Registration [assignedWeekend == input.label];
if (count(Registration[assignedWeekend == temp.assignedWeekend]) == 0)
{
clear couple;
}
else
{
for each r in Registration [assignedWeekend == temp.assignedWeekend]
{
couple.add(r.wName + " and " + r.mName);
}
}
---------------------------------------------------------------------------------------------
This seems to be working fine. However, the user's selected value for couple isn't being captured in the view that corresponds to the form. Any thoughts?