Hi,
I am using an Entity form with three questions. If users select No for any of the questions on the portal page, It will forward them to another page that displays an error message and some links for guidance.
I am trying to achieve this by adding javascript validation on the entity form (Additional setting - custom javascript) (refer to image 1). if the validation fails, then I want to forward it to another page.
I try to follow this link. https://docs.microsoft.com/en-us/powerapps/maker/portals/configure/add-custom-javascript#additional-client-side-field-validation
however, i don't know where to add forwarding to the new page code. Could you please advise me how i can prevent the form submission and forward to another page when the user selects "No" for any of the questions?
Thank you, Siva
image 1