cancel
Showing results for 
Search instead for 
Did you mean: 

Adobe Forms --Amount field Problem

Former Member
0 Kudos

Hello All,

I have one clarification.I have one field called amount.Its value is taken as 0.00 from the table. I have to make it as blank.I have made it as blank to that field in display pattern properties by setting as * in adobe designer. This is suitable for print form. In case of interactive form how can this be done to achieve the functionality.If the value is given from the other side to the amount value its not taking since in display pattern it has been set as *.Can anybody help me out in this issue.

This is very urgent.I will reward you with points.

Thanks,

Accepted Solutions (0)

Answers (1)

Answers (1)

chintan_virani
Active Contributor
0 Kudos

Indrakaran,

Well you can try this one in initialize event in LiveCycle Designer. Change the language to javascript.:-

xfa.host.messageBox("Raw Value is : " + DMBTR.rawValue); // This will just give a alert box.

if(DMBTR.rawValue == "0.00")
{
   xfa.host.messageBox("Value is 0.00"); 
   DMBTR.rawValue = "";
}

Chintan

Former Member
0 Kudos

Hello Chintan,

Thanks a lot for the reply.Its working fine but there is a issue.

If the data is through internal table then many fields can be 0.00.

How can you set dynamically to become blank space for all the amount fields which are 0.00.

chintan_virani
Active Contributor
0 Kudos

Indrakaran,

You will need to write the same script for all Amount fields in similar way.

I think there can be another way as well of looping over the Item node and then setting the values but I am not much familiar with it.

Chintan