Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8667

Re: How to hide a Sub Form when there are no rows in table.

$
0
0

Hi Rohit,

If you have placed the subform in Design page:Try to use the below FormCalc in event: formready

                                                                                                                                                

Assuming  that you have 5 rows in the table and want to validate each row……

If ($.parent.row1 == null ) and

    ($.parent.row2 == null  and

    ($.parent.row3 == null  and

    ($.parent.row4 == null  and

    ($.parent.row5 == null )  then

$.presence = “hidden”

Else

$.presence = “visible”

 

If you have placed the subform in Master page:Try to use the above FormCalc in event: layoutready

 

Hope it works!

 

Naveen


Viewing all articles
Browse latest Browse all 8667

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>