Solution: hiding cannot be blank popup - InfoPath Dev
in

InfoPath Dev

Solution: hiding cannot be blank popup

Last post 12-16-2009 05:53 AM by Qazi Anis. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 10-27-2009 01:29 PM

    Solution: hiding cannot be blank popup

    I thought I would share this thing that's been bugging me. You tick the "Cannot be blank" checkbox in infopath, in the browser - you get that stupid popup that gets in the way. there is a thread about it that doesn't offer great solutions, just work arounds:
    http://www.infopathdev.com/forums/t/2993.aspx?PageIndex=1

    I eventually worked out this solution, just modify the core.js file located here:
    C:\Program Files\Common Files\Microsoft Shared\web Server Extensions\12\TEMPLATE\LAYOUTS\INC 

    Replace:
    objVisualizationDiv.style.display = "inline";

    With:
    objVisualizationDiv.style.display = (strHelperName == "ErrorTip") ? "none" : "inline";


  • 10-27-2009 01:56 PM In reply to

    Re: Solution: hiding cannot be blank popup

     Great tip. I'll post the update on the original thread.

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


  • 12-15-2009 06:59 PM In reply to

    Re: Solution: hiding cannot be blank popup

    hi cool tip, id like to do this on my sharepoint 2010 beta. have you tried this yet? i cant seem to find "objVisualizationDiv.style.display = "inline";" in the core.js file.

  • 12-16-2009 05:53 AM In reply to

    Re: Solution: hiding cannot be blank popup

    thanks for the tip,

    i just got myself rid of a long pending client request.

    Qazi Anis
    Technical Architect
    Bitwise Inc
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.