Learing drop down list

L

Lp12

Hi all,
Is it a way for the drop down list control to be filled by the user with
values that aren't in the list? And to add the new value to the existing list?
Thanks in advance
 
F

Franck Dauché

Hi,

You won't be able to do it if you enter the list manually. Instead you
would need to bind your drop-down to a secondary Dom in your form (add a data
connection from an outside xml document that you designed yourself and that
contain initial entries for your drop-down). Then you provide an interface
for users to access and maintain that xml document.

Hope hat it helps.

Regards,

Franck Dauché
 
L

Lp12

Thanks a lot Frank,
I'm a newbie to xml, can you guide me on how to create the xml scheme
(structure) and how to bind it to the dropdown control? ( or i need to create
a new one?)
Thanks again :)
 
F

Franck Dauché

Hi,

You can do this by creating another InfoPath form with a repeating table on
it and 2 fields: ID and Description. You can run that form, enter a series
of items that you want to show in your drop-down. Then you just save the XML
output.
That is one of the strength of IP, you can generate xml easily.

Next, you add a data connection in your main IP document from the xml output
generated above: Tools \ Data Connection \ Add \ Receive data \ xml document.

Hope that it helps.

Regards,

Franck Dauché
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top