0 Replies Latest reply on Feb 8, 2016 12:39 PM by PCForm

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

    PCForm

      .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";

       

      }