ITEM DATA WITH CONDITIONS IN ADOBEFORMS | Community
Skip to main content
March 4, 2016
Question

ITEM DATA WITH CONDITIONS IN ADOBEFORMS

  • March 4, 2016
  • 3 replies
  • 3840 views

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.

Thanks in advance.

Thanks,

Srinivas.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

_Bruce_Robertson
Level 10
March 5, 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

srilellaAuthor
March 7, 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
Level 10
March 7, 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