Hi, just a question:
Do non-blocking (server) validators exist?
E.g
field_capacity = 200
field_booked = 150
validator on field booked:
if (booked > capacity) set blocking validation with message "Overbooked!" (so a user must do some manual work to get booked under capacity)
if (booked > capacity - 20) set non blocking validation with message "Almost sold out"
else don't set any validation icon
When the window with these fields on is opened, we could perform a form.validate() to immediately show validation errors on these items. We show all validation messages on top of the screen, so immediately the user sees the message "Almost sold out".
Do non-blocking (server) validators exist?
E.g
field_capacity = 200
field_booked = 150
validator on field booked:
if (booked > capacity) set blocking validation with message "Overbooked!" (so a user must do some manual work to get booked under capacity)
if (booked > capacity - 20) set non blocking validation with message "Almost sold out"
else don't set any validation icon
When the window with these fields on is opened, we could perform a form.validate() to immediately show validation errors on these items. We show all validation messages on top of the screen, so immediately the user sees the message "Almost sold out".
Comment