Validation

0
Good day i need create a Validation for the Premium tab to not show 0 and when a there is No Value of 0 is shows a Error Message
asked
3 answers
0

If you don't want to show a field when it's zero, you can use a visibility condition on that field.

 

In this case, the condition will probably need to be an expression such as 

 

$currentObject/Premium != 0

 

This will only show the field if the Premium is not zero.

 

https://docs.mendix.com/refguide/common-widget-properties/#visibility-based-on-expression

 

I hope this helps.

answered
0

so i need this message to show only when the Premium is 0 how do i go about doing that

2024-02-06 (2).png

answered
0

You could also look at using a Validation Type of Custom on the Premium element on the page. You'd need an expression like

 

$value = 0

 

https://docs.mendix.com/refguide/common-widget-properties/#validation

answered