3 Replies Latest reply on Nov 8, 2018 1:08 PM by kjaeggin

    Displaying a default value when no value exists

    super1236 Level 1

      We are using XFA forms to generate formatted output from a quality management system. I'm trying to modify the form to display a "No Value" message when there is no data from the system to output.

       

      I have some javascript to check the values:

       

      {

      if ((oField.rawValue == null) || (oField.rawValue == "")) {

      oField.rawValue="No Value";

      }

      else

      { oField.rawvalue;}

      }

       

      But I am having trouble figuring out how to add it to my form. I'm using designer 6.4. Any suggestions?