cancel
Showing results for 
Search instead for 
Did you mean: 

Adobe Form - Hide a table row if a condition met

Former Member
0 Kudos

Hi Helper

I am learning how to use Adobe Form - and I am trying to hide a table row if a condition is met by using Formcalc/Jave script - but I donot know how - I was told that I can use "....presence = 'hide' " property in on of the event(?) but donot know how to write the qualified name for the varable row and what event to use. Could someone please show me how

Points will be rewarded.

Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

harman_shahi
Contributor
0 Kudos

Please try this (in Javascript code):

Table1.Row1.instanceManager.removeInstance(<rowNumberHere>);

-harman

Former Member
0 Kudos

Harman

Thanks for your reply

Could you please also show me how to code a qualified name of;

1) a table cell

2) a field that passed thru a context

This may be simple to you - but I don't know because I'm learning this and I cannot find the answer

anywhere. Thanks

harman_shahi
Contributor
0 Kudos

Hi Liem,

Here is some more information:

1)

Accessing data in Table Cell

xfa.resolveNode("xfa.data.my_data.tableData[" + this.parent.index  + "].column1").value

2) Accessing data nodes in Context

xfa.datasets.data.my_data.second_node.an_attribute.value == "3"

I think you will find the WebLog below very useful for your requirements.

/people/juergen.hauser2/blog/2007/09/03/accessing-data-nodes-in-sap-interactive-forms

-regards,

harman