Check if a form is new by using roles, not code

If you are looking for a way to figure out if a form that is based on a form template is being filled out for the first time or subsequent times, take a look at this blog entry, Microsoft InfoPath Team Blog: Check if form is new using roles, not code, for a way to use user roles to determine if the form is new or just passing through the workflow.

You can use this method for a form template that will be used by several people who have different requirements. For example, your form template can have one view for the person filling out the form for the first time and another view for the manager reviewing the expense report.

For more information about user roles and views, see the following articles:

We make continual improvements to Office Online based on feedback we get from customers like you. If this article was helpful to you, please let us know by voting under the Was this information helpful section at the bottom of this article. If it wasn’t helpful, we’d like to know that, too. (The more detailed you can be about your issue, the better.)

Expand your Office skills
Explore training
Get new features first
Join Office Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.