When iterating through the FormFields collection, we are having a problem when the FormField.Result contains double-quote characters ("). When iterating to the field with the double quotes, we get the following Aspose.Words error:
FormField.Result 'field.Result' threw an exception of type 'System.NullReferenceException' string {System.NullReferenceException}
System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at Aspose.Words.CompositeNode.xffb933e9ce5628b3(Node x10aaa7cdfa38f254, Node xca09b6c2b5b18485)
at Aspose.Words.CompositeNode.xd836973c22682d7e(Node x10aaa7cdfa38f254, CompositeNode xd42e4a912644dc8b, Node xca09b6c2b5b18485, CompositeNode x0f419c6b90633a8f)
at Aspose.Words.Field.get_Result()
at Aspose.Words.FormField.get_Result()
What is the best way to deal with double-quotes in form fields?