Skip to Content
avatar image
Former Member

Restricting visibility of table in Adobe form in WdJava when node is empty.

Dear Experts,

We have a requirement for Formcalc or Javascript code for making the table on adobe form invisible when the node corresponding for the table in the form is empty.

Please suggest ASAP. Thanks in advance.

Regards,

Mahesh.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Nov 23, 2009 at 07:54 AM

    Hi

    In the table's layout ready event write the following.

    //formCalc
    if(data.Page.<table>.<Row1>.<field>.rawValue == null or data.Page.<table>.<Row1>.<field>.rawValue == "" ) then
    $.presence = "hidden"
    //this.presence = "hidden"
    
    endif
    

    Kind Regards

    Mukesh

    Edited by: Mukesh mani on Nov 23, 2009 1:26 PM

    Add comment
    10|10000 characters needed characters exceeded