How to display decimal value in the form input widget for whole number
Application Type

I am using the data type as Decimal for the attribute in a form, when user enters decimal values its showing properly but when user enters whole number then the input widget does not show the default decimal digits 

For Eg. User entered 12 so in the form it should display 12.00 

currently its showing not showing the decimals. 

Any help would be appreciated. 


Hi Kunal,

That's not how input boxes in web pages work, in general (that is, HTMP input boxes do not support something like that out of the box). You could take a look at one of the input mask assets in the forge, they might do what you want.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.