Modal-ish Search Window Pop up from Icon in IP Form - InfoPath Dev
in

InfoPath Dev

Modal-ish Search Window Pop up from Icon in IP Form

Last post 01-08-2013 07:46 AM by csigler. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 01-07-2013 02:35 PM

    Modal-ish Search Window Pop up from Icon in IP Form

    Not sure where to post or how to ask... I guess that mean "General".

    I have an InfoPath 2010 Form. There is a field where a user can enter a Customer Number but typically they won't know it. I placed a search icon next to the field and want a modal type screen to pop up when clicked, that allows the user to enter any part of the customer name, see results and select the correct item. When they click on it - the modal closes and the data they clicked on is displayed in the field.  This data comes from a seperate list. I thought I could use search external list but can't get that to work and not sure if thats the right solution.  Found a rather long blog with instructions how to Open a SharePoint Modal Dialog from an InfoPath Form with 5 parts. At the end of part 1 my code did not test out. 102 errors.  Directions were a bit vague I am guess I wasn't inserting code in the proper place.

    Any advice would be great.

    CSigler

    Filed under:
  • 01-08-2013 06:16 AM In reply to

    Re: Modal-ish Search Window Pop up from Icon in IP Form

    Sadly, I don't think there are any such options out of the box for your request, so if you found a blog post with sample custom code, that might be the only way to go. A lot can be accomplished via code, but it's not easy.

     How long is your source list? Depending on how many customer numbers there are, perhaps a dropdown would be feasible?

    Ernesto Machado
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™


  • 01-08-2013 06:34 AM In reply to

    Re: Modal-ish Search Window Pop up from Icon in IP Form

    There are about 20,000 customers. Time to call in the troops (my husband) to help me get this code to work then.
  • 01-08-2013 07:46 AM In reply to

    Re: Modal-ish Search Window Pop up from Icon in IP Form

    I am so glad I married up..lol  The code in the solution is C# but I was creating a VB project thus the errors. 
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.