display error messages with an asterisk on those fields and make the border of the offending field red
Finally, I want to prevent the submission of the form if any of the field validation rules are violated (the submission button is built into the SharePoint Form, so I believe the Global Validation is managed in the On Submit) .
I see that each Data card has a "Star Visible", and "Error Message" labels and that there is a border color that could possibly be updated with an if statement...
I have a text field, "Office Phone Number" where I want it to match the pattern "(xxx) xxx-xxxx" ( I believe the if statement should be: If(IsMatch(OfficePhoneNumber_DataCard1_1.text, LeftParen & Digit & Digit & Digit & RightParen & Space & Digit & Digit & Digit & Hyphen & Digit & Digit & Digit & Digit), but I don't know where this should go to effect the notifications for that field)
I have a text field "Email" where I want it match an email pattern. (I believe that If-statement should be "If(IsMatch(EmailDataCard.Text,"joan@contoso.com,Email)" Same issue, I don't know where to place this...
Some fields that cannot be blank. (If(IsBlank(SomeFieldsDataCard.Text,...,...)
Some fields that cannot be blank if a toggle is set to "true".
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.