Hi,
In my InfoPath form, I have a number of sections which are
shown/hidden based on certain criteria. Now, these sections again contain some
buttons. When these buttons are clicked, some elements are inserted into the
XML DOM using this.CurrentView.ExecuteAction (elements which were not included
in the form when it was first created but explicitly inserted when user
indicates so by clicking on a button). However, the issue I am facing is,
whenever I click a button to insert the elements, the elements get added fine,
but the entire section containing it gets selected. I have to click outside the
section again to unselect the section. It would be really helpful if I could
know what could be done to get around this issue.
Thanks in advance.