Codeless Confirmation Dialog box - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Codeless Confirmation Dialog box

Last post 08-12-2010 08:18 AM by Alphamax. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 08-11-2010 10:20 AM

    Codeless Confirmation Dialog box

    Is there a way to do a confirmation dialog box in InfoPath 2007 without writing code?

    I am trying to avoid writing code however, need to do something similer to the functionality of XDocument.UI.Confirm
    Example in code
     
    var warnmsg = XDocument.UI.Confirm("WARNING MESSAGE WITH YES AND NO?", 4);
     
    if (warnmsg == 6) {
    // IF YES IS SELECTED
    XDocument.UI.Alert("You picked YES");
    }
    else {
    // IF NO IS SELECTED
    if (warnmsg == 7){
    XDocument.UI.Alert("You Picked NO");
    }
    }
    Thanks

    @lphamax
  • 08-11-2010 11:57 AM In reply to

    Re: Codeless Confirmation Dialog box

    hi Alphamax, I don't think it's possible without code.with rules you can just have message box.

  • 08-11-2010 06:46 PM In reply to

    Re: Codeless Confirmation Dialog box

    You could use a separate view for this.  Just have a field to show the question and Yes and No buttons.  When the user clicks one, you can set a field to Yes or No to note the response, and switch back to the previous view.

    Jimmy Rishe / Software Developer / Microsoft MVP
    Qdabra Software
  • 08-12-2010 08:18 AM In reply to

    Re: Codeless Confirmation Dialog box

    Thanks I guess the "views" solution will have to do for now
    Thanks

    @lphamax
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.