Hi @CNT ,
There is a form which has 2 button controls that adds data to backend SharePoint list. One of the button is "Add" that adds data to backend list and resets the form to add more entries. Another button is "Submit" on clicking which user can add data to backend list and navigate to another screen.
When user clicks on 'Add' button I display a message with a custom alert box to say data successfully added to backend and this message is shown using OnSuccess property of the form. If user directly submits the form using submit button, I do not want to show the custom alert box.
I Use following formulas,
1. Add button- OnSelect: Set(submitClicked, false)
2. Submit button- OnSelect: Set(submitClicked, true)
3. Alert Box Visible- If(showAlert=true, true, false)
4. Form OnSuccess: If(submitClicked=false, Set(showAlert,true), Set(showAlert,false))
These formulas work as expected in preview but does not work when app is browed in the browser. Could you please help me resolve this?
Thank you in advance
Alert box