How to accept integer and decimal values in one field?
Hi, I have one value field which contains only integer numbers but in the same field if the user enters a decimal value then that value should also be acceptable. And if the user enters some wrong input then a warning message should display. so how to acheive these scenario?
Use a (non) persistent decimal attribute as temp attribute and make it an integer and store that value in the right attribute. This way only number can be entered and you make sure that you only store integers. UX wise you could show the result to the end user of his input.