Change an image on an InfoPath form by selecting options

Learn how you can use rules (no code) to select and change the image stored in a picture control on an InfoPath 2010 form through option button selections.

Instead of answering 10 questions from last week - like I did last week - this week I decided to take one of the questions that was asked last week, and answer it in a video.

While searching on the Internet for InfoPath information, someone asked how to switch or change an image on an InfoPath form through selections.

While there are several solutions possible, the solution I put together in the InfoPath 2010 video below is a codeless solution that keeps InfoPath forms "light".

There is another "light" solution where images are stored as resource files in a form template and then programmatically retrieved at runtime, but since it is one of the recipes in my InfoPath 2010 Cookbook 3 and because the majority of InfoPath users are not programmers, I decided to show you the codeless solution instead.

 
 Subscribe via RSS or Email

Copyright: This article may not be used on web sites (whether personal or otherwise), copied, disseminated, altered, printed, published, broadcasted, or reproduced in any way without an expressed written consent of S.Y.M. Wong-A-Ton. The techniques demonstrated in this article may be used within any Microsoft InfoPath project. This article is provided without any warranties. Copyright for this article is non-transferrable and remains with the author, S.Y.M. Wong-A-Ton.

InfoPath 2013 Cookbook: 121 Codeless Recipes for Beginners
InfoPath 2013 Cookbook 2: 121 Codeless Recipes for SharePoint 2013
InfoPath 2010 Cookbook: 101 Codeless Recipes for Beginners
InfoPath 2010 Cookbook 2: 101 Codeless Recipes for SharePoint 2010
InfoPath 2010 Cookbook 3: 101 Code Recipes for C# Developers
InfoPath 2010 Cookbook 5: Integrating InfoPath with Excel and Excel Services


Related Posts

InfoPath 2013 Cookbook: 121 Codeless Recipes for Beginners

InfoPath 2013 Cookbook 2: 121 Codeless Recipes for SharePoint 2013

InfoPath 2010 Cookbook: 101 Codeless Recipes for Beginners

InfoPath 2010 Cookbook 2: 101 Codeless Recipes for SharePoint 2010

InfoPath 2010 Cookbook 3: 101 Code Recipes for C# Developers

InfoPath 2010 Cookbook 4: 101 Code Recipes for VB Developers

InfoPath 2010 Cookbook 5: Integrating InfoPath with Excel and Excel Services