
Hi All,
I have a powerapps form with SharePoint as the datasource. I have a choice field Location. Once i select a particular location eg: Dallas, after clicking on Save in the form, the selected choice Dallas should be retained in the Location field, rather than getting reset.
May I know how to achieve this ?
Hi @Iantaylor2050 :
Could you tell me :
I assume there is a combo box in a new form and location do not allow multiple selections.
1\Set the save button's OnSelect Property to :
Set(
cc, /*cc is my custom variable*/
combobox.Selected /combobox is the combo box downcontrol/
);
SubmitForm(Form1);/*Form1 is the new form*/
ResetForm(Form1)
2\Set the combo box's DefaultSelectedItems proeprty to:
cc
Best Regards,
Bof