Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / April 2007

Tip: Looking for answers? Try searching our database.

The Selected Control is bound to the same field or group as anothe

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
xyz - 24 Apr 2007 14:48 GMT
Hi,
I have created an infopath form based on a template xml as follows:
<root>
  <node type='image' id=''></node>
  <node type='audio' src=''></node>
</root>

I added a repeating section each, for node1 and node 2, with the controls
for type and id for node1 and controls for type and src  for node2.

Now when i preview, and click on insert node1, it is automatically showing
the controls for inserting node2 also. Can we prevent this? I want a
functionality where when i say insert node1, it should show only node1
controls. Since the repeating sections are bound to only one field, it is
showing both.
Can anyone help.
Signature

Thank you,
xyz

Shiva[autonomysystems.com] - 24 Apr 2007 21:04 GMT
Hi,

If you want to insert only nod1 then you need to create empty repeating
seciton with only node1 field in that section. Then if you insert it will
insert only node1 control and it will not insert the node2 control because
you are not displaying this control in InfoPath form.
Signature

Visit: http://www.autonomysystems.com
Shiva

> Hi,
> I have created an infopath form based on a template xml as follows:
[quoted text clipped - 12 lines]
> showing both.
> Can anyone help.
xyz - 25 Apr 2007 05:52 GMT
Hi,
Maybe i was not clear in my requirement. This is how my application works.
First, i created a form based on a template xml. So when my xml was of the
format:
<root>
<node type='image' id='1'></node>
<node type='audio' src='audio.mp3'></node>
</root>
in the data source, you can see that node was added as one group, with type,
id and src as fields in it.
Using this data source, i have created the form with two repeating sections.
the first one has type and id. The second one has, type and src. when i
preview this form, i can see both the sections with their respective values.
Now when i try to click on insert item, for the first section, i can see that
it is showing both the sections in the insert interface. So now, instead of
having type and id controls in the insert section, i have type and id, type
and src controls also.When i click on insert, i want type and id controls
only to show up.
Signature

Thank you,
xyz

> Hi,
>
[quoted text clipped - 19 lines]
> > showing both.
> > Can anyone help.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.