change image based on dropdown box, IP2010 browser based form - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

change image based on dropdown box, IP2010 browser based form

Last post 10-12-2011 02:04 PM by Karsten Brocksieper. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 10-11-2011 09:56 AM

    change image based on dropdown box, IP2010 browser based form

    I am new to IP and have to create a incident tracker form. I have a student SP list with first name and last name and photo  that is a hyperlink pointing to a photo library.

    When the user selects the student in the form from a drop down i wanted to change the photo on the form to that selected student.

    Any help would be appreciated. I am not a programmer

    I have the form done but when i select the student the image field just changes to the photo ID (1, 2, 3, 4, etc)

    Thanks

    Filed under:
  • 10-12-2011 01:11 PM In reply to

    Re: change image based on dropdown box, IP2010 browser based form

    Place each picture in its own section.

    You can then conditionally hide each section depending on which option you choose from the dropdown menu.

    If you have anymore questions just let me know!

  • 10-12-2011 02:04 PM In reply to

    Re: change image based on dropdown box, IP2010 browser based form

    Hello jason,

    in short words explained you can define an action rule for your drop down box where you concatenate the url for the appropriate picture and set this expression as hyperlinkDataSource for the picture control. Please have a look at:

    http://blogs.msdn.com/b/infopath/archive/2006/09/25/dynamic-pictures.aspx

    for an example.

    Hope that helps.

    Regards,

    Karsten
    Filed under:
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.