dropdown options and importDOM questions

M

Munajat

Hi,

I've been struggling to find solution for my problems:
1. I use importDOM() method to load an XML file during loading the infopath
for debuggin purpose, but I encountered errors in the code because some of
the fields are locked (their value cannot be edited from the code). But this
is inconsistent, because some of the fields' value can be edited. But this is
not occured if I opened the XML file directly using the infopath form (I add
the necessary processing instructions to the file).
Is this a security issue or what?
2. How to remove blank option in dropdown list box whose entries are taken
from form's data source?
 
M

Michelle Beall

For #2 set a default value for the node the dropdown list box is bound to.
The empty option is added because the node's value is empty.
 

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