Prompt user when Infopath 2010 document loads

notacomputergeek used Ask the Experts™
I want to prompt the user for text input when my Infopath 2010 document loads. This text would be captured as the value for an existing field.

I have the Programming Language set to Visual Basic in Infopath.

I suppose it would be similar to the inputbox function.
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Director of Business Integration
you can add rules, in InfoPath, for onload.

I would create a default view where they can enter into a field. Then switch to the main view once you have the value and do a query for the data or whatever.
Can you give me details on creating a rule for onload? I saw this mentioned for 2007, but couldn't find it in 2010.

I used a different default view and switched after getting the values.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial