‎2015 Jun 25 9:17 AM
Hello Frds
I have a requirement to display the Amount from the table items as per the currency decimal places.
I have added the Javascript for assigning the pattern at runtime but I see that its working only on the first row of the table.
I tried writing java script inside events like initialize, calculate, enter, exit but it doesn't work.
Help Please.
‎2015 Jul 09 7:46 PM
Hello Frds,
This topic is still open. I belive some minor logic/setting is missing.
Please suggest.
‎2015 Jul 10 6:16 AM
Hi Santosh,
Could u please try the below java script once for that amount field in Form ready.and comment it in all other areas(Initilization,calculation etc.)
Please check once the path of the field is provided in the java script is correct..
if ((this,resolveNode("$").rawvalue == "0"))
{
data.layout.Subform1.GV_AMT.foramt.picture.value = "zzz,zzz,zzz,zzz,zzz,zzz,zzz,zzz,zz9s";
}
else
{
data.layout.Subform1.GV_AMT.foramt.picture.value = "zzz,zzz,zzz,zzz,zzz,zzz,zzz,zzz,zz9.9s";
}
Regards,
Suneel.Uggina.
‎2015 Jul 11 5:16 AM