Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

ITEM DATA WITH CONDITIONS IN ADOBEFORMS

srilella
Level 1
Level 1

Dear all,

Could you please suggest java script for handling the item data in internal table in Adobe forms.

In internal table I have 4 fields.

if 1st field value equal to '1' then the item row has to be skip( it should not display the entire row ).

if 1st field value is other '1', then item data has to display the data.

892688_pastedImage_0.png

Thanks in advance.

Thanks,

Srinivas.

3 Replies
_Bruce_Robertson
Level 10
Level 10

Hi Srinivas,

You should be able to do this in the calculate event of Row1, something like;

 

if (Cell1.rawValue == "1")

{

    Cell2.presence = "hidden"

    Cell3.presence = "hidden";

    Cell4.presence = "hidden";

}

 

Regards

Bruce

srilella
Level 1
Level 1

Hi BR001_ACP,

Thanks for such a reply,,

I tried the way like you mentioned the code above, but it's not working.

I'm new to Adobe forms ... can you please elaborate it..

_Bruce_Robertson
Level 10
Level 10

Hi,

Are you getting any errors or exceptions? It should be as simple as that, you will have to change the object names (the Cell1, Cell2, etc) to suit your form.

If you are still having trouble and you are able to upload your form to google docs, dropbox, or similar and post a link to your form, I'm happy to have a look.

Regards

Bruce