I'm hoping someone can help me.
I have a Power app that allows users to submit a form based on specific content types.
There are two screens.
Screen 1: Have buttons that the user may select to launch a New Form(1) which is on Screen 2.
Here's the button syntax that is modified based on the content type.
ResetForm(Form1);
ResetForm(Form1);
NewForm(Form1);
Set(varItem,Defaults('Change Request'));
Set(varRecordType,"New");
Set(varItem,Blank());
Set(varBasic,true);
Set(varOrg,false);
Set(varStrategic,false);
Set(varOps,false);
Set(varCA,true);
Set(varVendor,false);
Patch(varItem,{ChangeType:"Corrective Action"});
Navigate(SubmissionScreen,ScreenTransition.Fade,{ChangeType:"Corrective Action"})
Screen 2: Is Form(1). Fields are visible based on the variables set with Screen 1.
I have a choice field called ContentType.
I would like to have this field change based on the true variable set by the button on Screen 1.
I don't know what else to try.
Please help