how to make decimal attributes default value as null
![]()
Hi All,
I have a peculiar scenario where I have a decimal field and its range is 0.1 to 10.
so I created a validator that validates the given range.
and this field is mandatory based on the selection of a particular value in other attribute. and I need the validator only when the field is mandatory.
is there any way to achieve this?
and also the default value is shown as 0 but i dont want anything there is that possible?
Thanks
Surender.
|
One answer
![]()
1. Validators will always be executed. If you only need to enforce the range in the same condition as the field being required/mandatory, I think you need to use script-based validtors and put the same logic in the script.
2. Cannot find a way to do it either. |