Formatting Controls using VBscript

L

Lawrence

Hi

Pretty much explanatory from the title, but is it possible to format
controls (e.g. expression boxes/ text boxes) from within the scripting
environment using VBScript? (I need to do some extra processing on
data hence I cant use the Conditional Formatting section)

Thanks

Lawrence
 
D

David Dean

Conditional formatting is the only provision InfoPath makes for handling the
formatting of controls, and only certain properties of the controls can be
controlled conditionally.

You'll need to store a value in one of the form elements (or in an XML file
retrieved using a secondary data source), then reference that element in a
conditional formatting expression.
 
Top