Quantcast
Channel: Adobe Community : Discussion List - LiveCycle Forms
Viewing all articles
Browse latest Browse all 1160

When to use .rawValue=null or .rawValue=""

$
0
0

.rawValue=null

 

 

if(Subform1.LinesOver.rawValue!=null&& Loc.rawValue!=null&&Addr.rawValue!=null&& TOB.rawValue!=="17" && Construction.rawValue!="1" && ProtectionClass.rawValue!=null&& YrBuilt.rawValue!=null&& Stories.rawValue!=null&&  bldgs.rawValue!=null&& Flood.rawValue!="3" && Earthquake.rawValue!="1" && Sprinklered.rawValue!="1" && LossHistory.rawValue!=null&& Total.rawValue!=null)

 

{

 

Page1Sub.Subform2.Subform5.Subform6.presence="visible";

 

}

 

else

 

{

 

Page1Sub.Subform2.Subform5.Subform6.presence="hidden";

 

}

 

 

OR

 

.rawValue=""

 

 

 

 

if(Subform1.LinesOver.rawValue!=""&& Loc.rawValue!=""&&Addr.rawValue!=""&& TOB.rawValue!=="17" && Construction.rawValue!="1" && ProtectionClass.rawValue!=""&& YrBuilt.rawValue!=""&& Stories.rawValue!=""&&  bldgs.rawValue!=""&& Flood.rawValue!="3" && Earthquake.rawValue!="1" && Sprinklered.rawValue!="1" && LossHistory.rawValue!=""&& Total.rawValue!=null)

 

{

 

Page1Sub.Subform2.Subform5.Subform6.presence="visible";

 

}

 

else

 

{

 

Page1Sub.Subform2.Subform5.Subform6.presence="hidden";

 

}

 


Viewing all articles
Browse latest Browse all 1160

Trending Articles



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