How to validate a custom field not in a form

How to validate a custom field not in a form, but in a separate input?

For example, so that it must be filled in and when the button is pressed, if the field is not filled, then a message was shown that the field needs to be filled?

I attach a screen

Hi @Ilya_DDD,

Unfortunately, there is no built-in validation for the input fields. You will need to create everything by yourself:

  • have a conditionally visible label with the text “please input value”
  • make the action for the button a conditional one - it should happen only when the input field value is not equal to empty.

Yes, it’s a pain - but that’s the only solution for now :slight_smile:
BTW, if you need two conditions - you can try making the button conditionally invisible.


1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.