John Herdean
Posts: 0
Joined: Tue May 14, 2013 3:56 am

Can i add a static character in from or at the end of a service json response value?

Hi, i have a field that i want to show like this for example: '$value'. the way im getting it from my back end server is just a pure value, not with the $. So, if im getting back from the server this: '500.25' - how can i show it to display: '$500.25'?

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

Can i add a static character in from or at the end of a service json response value?

Add next code on yours map field
code
var a = value;
var b= "$" +a;
return b;
/code
Image

Return to “Issues”