Hi! here is a code i'm trying to make work. basically if the OR% is 100% and No loss Reported was selected with the dropdown box, clicking the button would either submit or reset the form.
P.S. I also have a display form that gives the OR value but i gave up in using it to be the basis for the button but if you have any ideas on how to capture it and use it in buttons that would be great too.
If(And(Gallery5.Selected.'OR (%)'=1,DataCardValue47.Text="No Loss Reported"),SubmitForm(Form2),ResetForm(Form2))
Thank you!