How to suppress Screen Tip and Message box text showing together - InfoPath Dev
in

InfoPath Dev

How to suppress Screen Tip and Message box text showing together

Last post 11-18-2008 10:07 PM by swathip. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 11-18-2008 12:47 PM

    • vijesh
    • Not Ranked
    • Joined on 01-05-2007
    • India
    • Posts 16

    How to suppress Screen Tip and Message box text showing together

    We are using the same template of Infopath 2003 in Infopath 2007, In 2007 screen tip text and message box text of data validation is showing together in a message box, when the condition satisfies.

     How to avoid the screen tip from the message box window? Please advice us.

     

    Thanks in advance,

    Vijesh 

     

    Filed under: ,
  • 11-18-2008 10:07 PM In reply to

    Re: How to suppress Screen Tip and Message box text showing together

    Hi,

    Open the manifest.xsf in any editor. And search for ‘xsf:customValidation'. There change the ‘shortMessage' value to a blank value.

    <xsf:customValidation>

    <xsf:errorCondition match="/my:myFields/my:field1" expressionContext="." expression=". = &quot;&quot;">

    <xsf:errorMessage type="modal" shortMessage=" ">dsgsdfg</xsf:errorMessage>

    </xsf:errorCondition>

    </xsf:customValidation>

    The value of match attribute in the error condition should be the xpath of the field to which you are providing the validation.

     Hope this will help to you.

    Note: Make sure you have a back up of manifest.xsf while doing these changes.

    Swathip
    www.ggktech.com
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.