XDocument.DOM properties

R

Roger Johnson

I am having a very hard time finding a good list of the DOm properties. I
know TEXT, but cannot find any others.

I was hoping to modify the proeprties of a field without having to use a
placeholder field to 'relay' the sesults of a button click.

I assume there is no XDocument.DOM.ISREADONLY for a field, but does
something like that exist?

Roger Johnson
 
S

Scott L. Heim [MSFT]

Hi Roger,

I am not sure what you are trying to do - could you elaborate more on what
you need?

In the mean time, these steps may help:

- Open any InfoPath form in Design View
- Press ALT+SHIFT+F11 to get to the Script Editor
- From the Help menu, choose Microsoft Script Editor Help
- Select the Search tab
- In the "Type in the word(s) to search for" box, enter: dom reference and
click the List Topics button
- In the Title column, double-click the entry: DOM Developers Guide
- In the right-hand pane, click the link: DOM Reference and here you will
have the various methods, properties, etc.

I hope this helps!

Scott L. Heim
Microsoft Developer Support

This posting is provided "AS IS" with no warranties, and confers no rights.
 
R

Roger Johnson

Basicly I am looking for a programatic with to perform operatoins similar to
conditional formatting the conditional formatting function within the GUI on
a large number of fields, so that if an event (on click onebewfore change,
etc) occurs that I can modify the look at feel of the fields themselves.

EX: I have a field which I want to become blue when another field is a
certain value. Yes I can do that through the GUI, but in this instance I
would prefer to do it programatically.

Is this possible using XDocument.DOM?
 
S

Scott L. Heim [MSFT]

Hi Roger,

InfoPath is data driven so there is no programmatic access to the controls.
As such, you will need to do what you want through conditional formatting.

Best regards,

Scott L. Heim
Microsoft Developer Support

This posting is provided "AS IS" with no warranties, and confers no rights.
 

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