Hello,
I have a multiple-selection box, which when a user selects a value will add an additional row to a repeating table. This part works like a charm, but I'm facing two problems after the fact.
Within my code, I have used the following on a object_Changed event:
writer.WriteElementString("field1", myNamespace, "test");
The code writes the text box without any problems, but, it doesn't populate the value in a browser-based form. Mind you this works flawlessly in the preview, no coding errors either, as it has been validated in preview mode. When it's used in a browser is when it doesn't work.
Further, I have a hidden section that operates on the repeating table columns, the formatting action works for only the first row when it is being filled out in browser, but when in infopath form it works, again, flawlessly.
It's been driving me absolutely crazy. I'm not sure if I absolutely require a button or is it just that programatically written rows behave differently with SharePoint 2010 and InfoPath 2010? Any help is greatly appreciated.
Thanks!