Hi,
Let me explain.
I wanted to change the format number too in some input field (type number) which I have in a WI. So I thought that one way to do this could be getting the value, changing the format with the mentioned function, and setting the value again. In order to do so, I'm trying to get the value with RMPApplication.get(), but that's returning null and I' don't understand why.
For debugging the code, y simply write the get and the console.log functions in my script, and I've tried in the Google Chrome js console too, for asuring the value of my field (I attach images for all this).
So..
Regarding to the get function:
1- What's happening with my fields? Why is the returned value null?
Regarding to the change format
2 - Re-thinking the whole method... If the sequence get-format-set works fine... Is it good for change the format? Now, I'm thinking, that for getting this to work, the fields should be text, and I would need to eliminate the characters like ',' or '.' later for operating with them, right?
I only need that in the number input fields, the numbers are seen with ',' for decimals and '.' for thousands...
I hope my question is more clear now. @_@
Thanks again and regards.