Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

ITEM DATA WITH CONDITIONS IN ADOBEFORMS

Avatar

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

Avatar

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

Avatar

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..

Avatar

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