Decimal values in Numberfield?
I'm trying to use a Coral Numberfield, but it marks a decimal value as invalid and there doesn't seem to be any option to allow it. Is there something I'm missing?
I'm trying to use a Coral Numberfield, but it marks a decimal value as invalid and there doesn't seem to be any option to allow it. Is there something I'm missing?
Hi
You can use TypeHints for the same. Add a hidden field (xtype:hidden) with name = <numberField'sName>@TypeHint and value= Long (http://stackoverflow.com/questions/28467498/save-cq-component-field-value-as-long-instead-of-string).
Also please have at article mentioned by "Leeasling" :- http://blogs.adobe.com/livecycle/2011/12/beyond-string-typehint-to-rescue.html
I hope this would act as some help to you.
Thanks and Regards
Kautuk Sahni
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.