Validation on required fields

Hi,

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.

Using the required function is not possible, since it triggers only on submit, while using validations would also be difficult, because they do not handle null values. Is there any way of achieving this in Appian?
 
Thanks in advance
 

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer
    Richard, based on my understanding, this is not possible. There are a couple of options you could use as workarounds:

    1. Add a "show requiredness" button at the top of the screen to highlight the required fields (set the button to validate but not submit). This would require additional user interaction, but should be able to achieve the rest of the desired behavior.
    2. Leverage placeholder text to display "(Required)" in the cells of required fields. While this wouldn't highlight in red, it would achieve the no additional user interaction requirement.

    I'm sure there are other workarounds, but these are a couple you could consider.
Reply
  • 0
    Certified Lead Developer
    Richard, based on my understanding, this is not possible. There are a couple of options you could use as workarounds:

    1. Add a "show requiredness" button at the top of the screen to highlight the required fields (set the button to validate but not submit). This would require additional user interaction, but should be able to achieve the rest of the desired behavior.
    2. Leverage placeholder text to display "(Required)" in the cells of required fields. While this wouldn't highlight in red, it would achieve the no additional user interaction requirement.

    I'm sure there are other workarounds, but these are a couple you could consider.
Children
No Data