InfoPath disappearing data
-
Hi, I am new to InfoPath, and I am having an issue with a web-based form. I have a Rich Text Box that is in a repeating section that is bound to an XHTML field. This is not in the main/default view, and the user can submit the form from the main/default view and from the sub-view with this control in it. When the user adds more than one of these Rich Text Boxes to the form, the data that has been entered into the field isn't always saved. I have, however, never seen the first time not be saved. Scenario 1: user enters text into the Rich Text Box. Then clicks the submit button. The text in the first Rich Text Box keeps the user entered text as expected. The user then adds another field, enters text, and clicks submit. The form then saves, however, the newly entered text in the Rich Text Box sometimes changes to "", and sometimes the text in the Rich Text Box stays as the newly entered text as expected Scenario 2: After clicking submit and the data stays as expected, the user then wants to change the value that is in the Rich Text Box. The user enters new data in the Rich Text Box and presses submit. The form then saves, however, sometimes the text in the Rich Text Box changes back to the data that was there previous to the user's changes, and sometimes the text stays as the newly entered text as expected. This seems to be a random error. It sometimes happens on the second entered Rich Text Box and sometimes doesn't happen until the 4th or 5th. This error doesn't happen when debugging the form in infopath. The code I am using to debug this issue is on the submit button clicked event.
XPathNavigator domNav = MainDataSource.CreateNavigator();
XPathNodeIterator rows = domNav.Select
("/my:myTipLead/fxintakerequest:IntakeRequest/fusionx:AnalystNotes/fusionx:AnalystNote/fusionx:NoteText"
, NamespaceManager);
while (rows.MoveNext())
{
EventLog.WriteEntry(ERROR_SOURCE, "node value = " + rows.Current.Value);
}The event log show all of the times it acted as expected. When it fails to save the text entered, the event log has all of the previously entered Rich Text Box data and the newly entered Rich Text Box entry says "not value = ". I'm assuming that the text is never getting into the field. Any help would be much appreciated. Thank you!!
-
Hi, I am new to InfoPath, and I am having an issue with a web-based form. I have a Rich Text Box that is in a repeating section that is bound to an XHTML field. This is not in the main/default view, and the user can submit the form from the main/default view and from the sub-view with this control in it. When the user adds more than one of these Rich Text Boxes to the form, the data that has been entered into the field isn't always saved. I have, however, never seen the first time not be saved. Scenario 1: user enters text into the Rich Text Box. Then clicks the submit button. The text in the first Rich Text Box keeps the user entered text as expected. The user then adds another field, enters text, and clicks submit. The form then saves, however, the newly entered text in the Rich Text Box sometimes changes to "", and sometimes the text in the Rich Text Box stays as the newly entered text as expected Scenario 2: After clicking submit and the data stays as expected, the user then wants to change the value that is in the Rich Text Box. The user enters new data in the Rich Text Box and presses submit. The form then saves, however, sometimes the text in the Rich Text Box changes back to the data that was there previous to the user's changes, and sometimes the text stays as the newly entered text as expected. This seems to be a random error. It sometimes happens on the second entered Rich Text Box and sometimes doesn't happen until the 4th or 5th. This error doesn't happen when debugging the form in infopath. The code I am using to debug this issue is on the submit button clicked event.
XPathNavigator domNav = MainDataSource.CreateNavigator();
XPathNodeIterator rows = domNav.Select
("/my:myTipLead/fxintakerequest:IntakeRequest/fusionx:AnalystNotes/fusionx:AnalystNote/fusionx:NoteText"
, NamespaceManager);
while (rows.MoveNext())
{
EventLog.WriteEntry(ERROR_SOURCE, "node value = " + rows.Current.Value);
}The event log show all of the times it acted as expected. When it fails to save the text entered, the event log has all of the previously entered Rich Text Box data and the newly entered Rich Text Box entry says "not value = ". I'm assuming that the text is never getting into the field. Any help would be much appreciated. Thank you!!
This is not a SharePoint related question.
Failure is not an option; it's the default selection.
-
This is not a SharePoint related question.
Failure is not an option; it's the default selection.
I'm sorry. We are using SharePoint to host our forms and I saw other InfoPath related stuff in the SharePoint forum. Where should I ask this question?