0

I'm developing an InfoPath form for Forms Services. It has these views:

  • View 1 asks the user to input some basic initial data
  • View 2 calls a web service based on data in View 1 and populates drop-downs accordingly

At the bottom of View 1 I've added a Next > button to move to View 2. As part of clicking that button I would like the inputs in View 1 to be validated first. However, there don't appear to be any rules that validate a view or anything in the object model to execute validation rules.

Is there code that can trigger a field's validation event?

4

1 回答 1

0

The answer to this, at least for InfoPath 2007 (which this question is targeted at), is no. The only solution is to handle all validation manually.

于 2010-05-11T04:17:25.987 回答