Hi @Anonymous ,
One last question, do you mean that you have a column named Region which contains data like this: Region1, Region2,...?
Then what do you want to display in the Region1 textinput , Region2 textinput in the form?
I assume that if that Region field data is Region1, then the Region1 textinput display as Ragion1 and Region2 textinput display as blank in the form.
Then you could set like this:
1)Park drop down's Items
ParkListCollection
Park drop down's AllowEmptySelection: true
Park drop down's Default:
If(!IsEmpty(LookUp(MemberList,UnqID=Value(UnqIDtextinput.Text))),
LookUp(MemberList,UnqID=Value(UnqIDtextinput.Text)).Park,
""
)
insert a label with text "the individual is not currently in the system" , set the label's Visible:
IsEmpty(LookUp(MemberList,UnqID=Value(UnqIDtextinput.Text)))
2)site name textinput Default:
If(!IsEmpty(LookUp(MemberList,UnqID=Value(UnqIDtextinput.Text))),
LookUp(MemberList,UnqID=Value(UnqIDtextinput.Text),SiteName),
//if the individual is already in Member list, 'Park' and SiteName auto-populate from MemberList
LookUp(ParkListCollection,Park=Parkdropdown.Selected.Park,SiteName)
//if the individual is already in Member list, site name auto-populate based on selection of park and ParkListCollection
)
Region1 textinput Default:
If("Region 1"=
If(!IsEmpty(LookUp(MemberList,UnqID=Value(UnqIDtextinput.Text))),
LookUp(MemberList,UnqID=Value(UnqIDtextinput.Text),Region),
//if the individual is already in Member list, 'Park' and region auto-populate from MemberList
LookUp(ParkListCollection,Park=Parkdropdown.Selected.Park,Region)
//if the individual is already in Member list, region auto-populate based on selection of park and ParkListCollection
),
//get region value
"Region 1",
" "
)
//compare with region1
Region2 textinput Default:
If("Region 2"=
If(!IsEmpty(LookUp(MemberList,UnqID=Value(UnqIDtextinput.Text))),
LookUp(MemberList,UnqID=Value(UnqIDtextinput.Text),Region),
//if the individual is already in Member list, 'Park' and region auto-populate from MemberList
LookUp(ParkListCollection,Park=Parkdropdown.Selected.Park,Region)
//if the individual is already in Member list, region auto-populate based on selection of park and ParkListCollection
),
//get region value
"Region 2",
" "
)
//compare with region2
Best regards,