I have a Canvas app for a survey with below information. My requirement is onclick on "Accept" button check if all checkboxes are checked, if Yes submit the form if not highlight the checkboxes in RED which are not checked.
How can I achieve this in Canvas apps.
Solved! Go to Solution.
OnSelect of Accept button check if all the checkboxes are checked. If all checkboxes are not checked then Set a variable of choice to TRUE. And Use this Variable to show Border color of Checkbox based on condition. If Variable is true and Checkbox.Value is false then show Red border otherwise show normal border color.
if(Not(Checkbox1.Value && Checkbox2.Value), Set(AcceptClicked, true), SubmitForm(FormName))
Thank you for your reply.
Can you please elaborate how can I use the variable "AcceptClicked" to show border color of non-checked checkboxes.
Check out new user group experience and if you are a leader please create your group
Did you miss the call?? Check out the Power Apps Community Call here!
See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.
ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.