Tag Archives: xsi-nil

InfoPath: A proper way to blank out Whole Number, Date using JScript

Problem When you blank out data in InfoPath using JScript, you would probably use the following method. XDocument.DOM.selectSingleNode("my:xpath/my:node").text = ""; Above code works well when “my:node” is of data type String. If the data type is Number or Date, above code will work but on the user interface you will see an error “Only integers… Read More »