ITEM DATA WITH CONDITIONS IN ADOBEFORMS

srilella

04-03-2016

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.

Accepted Solutions (0)

Answers (3)

Answers (3)

_Bruce_Robertson

MVP

07-03-2016

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

srilella

06-03-2016

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

MVP

04-03-2016

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