Question

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?

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top