0 Replies Latest reply on Dec 15, 2011 5:38 AM by pii2

    Identical code works/does not work in different forms


      This piece of code works fine in one form but not in another : OVTtunnus1.rawValue = "0037" + Ytunnus1.rawValue.replace(/-/g, "");

      If I comment it, no error. So, there is no other factors to produce the error.


      Error :

      Ytunnus1.rawValue is null

      1:XFA:form1[0]:Aliyritys[0]:OVTtunnus1[0]:enterException in line 1 of function top_level, script XFA:form1[0]:Aliyritys[0]:OVTtunnus1[0]:enter