You can do this using rules with conditions, or with code.

Signature
Greg Collins [InfoPath MVP]
Visit http://www.InfoPathDev.com
Greg,
Should i add the function at the submit button or at the drop down list
control?
You can do this using rules with conditions, or with code.

Signature
Greg Collins [InfoPath MVP]
Visit http://www.InfoPathDev.com
When i click submit on my form i want to return a red label that says *Error
Name Required if they leave the Choose your name drop down list untouched.
Greg Collins [InfoPath MVP] - 18 Jan 2006 00:50 GMT
Since you said that you wanted this message to appear when the user clicks submit, you should add the code to the submit button.

Signature
Greg Collins [InfoPath MVP]
Visit http://www.InfoPathDev.com
Greg,
Should i add the function at the submit button or at the drop down list
control?
You can do this using rules with conditions, or with code.

Signature
Greg Collins [InfoPath MVP]
Visit http://www.InfoPathDev.com
"Hector R. Barrera" <hectorbarrera1981@hotmail.com> wrote in message
news:u7ThxhvGGHA.2000@TK2MSFTNGP15.phx.gbl...
When i click submit on my form i want to return a red label that says *Error
Name Required if they leave the Choose your name drop down list untouched.