Display Error Message in Form (e.g. validation exceptions) - InfoPath Dev
in

InfoPath Dev

Display Error Message in Form (e.g. validation exceptions)

Last post 11-25-2008 02:28 AM by swathip. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 11-25-2008 01:58 AM

    • zartr
    • Not Ranked
    • Joined on 11-04-2008
    • Posts 15

    Display Error Message in Form (e.g. validation exceptions)

    I can check for validation errors using XmlForm.Errors.
    What I'd like to do is to print all the error messages to the web form to show the user what actually went wrong instead of just showing red stars.

    Is it possible to write text to the form for displaying purposes without adding a expression field to the data model?
    Just like in asp way.. where you would dynamically add a new textbox, label or literal..

    The thing about the expression box control is, it wastes space that might never be used.

  • 11-25-2008 02:28 AM In reply to

    Re: Display Error Message in Form (e.g. validation exceptions)

    Hi,

    By setting the expression box width and height to ‘auto', you can avoid the extra space that is taking expression box. If you set the size like this, it will occupy the space how much it is needed.

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