I am trying to achieve default highlighting of empty required fields on interface load, without the need of additional user interaction, while the submit button should skip all of those validations.
Discussion posts and replies are publicly visible
Would it work for your use case to display validation "errors" in a box layout above the grid?
Hi richardf0001 highlighting an empty required field on-load is not possible but we can customize our design approach to achieve this requirement as mentioned below:
/* Throwing Form Based Validation based on some certain conditions on load */
label: "Form Level Validation",
label: "First Name",
label: "Email ID",
message: "First Name is Required",
NOTE: We need to change the showWhen condition of validationMessage based on our requirement (Currently i have only considered one field as required and highlighted the error for the same i.e First name). Similarly you can implement this logic when you are working with Editable Grid having CDT (Multiple) as your rule input / variable.
Also unless it's (skipping the validations upon Submit) not your business requirement, i wouldn't recommend opting for this approach.
Hope this will help you.
© 2022 Appian. All rights reserved.