Confirm delete on button press in infopath form. - InfoPath Dev
in

InfoPath Dev

Confirm delete on button press in infopath form.

Last post 12-17-2013 01:31 AM by jacqui1811. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 12-15-2013 03:00 AM

    Confirm delete on button press in infopath form.

     I need to have a confirmation pop up on an infopath form to reduce the chance of accidental deletes.

    I am using infopath designer 2013 and have tried using

    if (XdConfirmChoice.xdNo == thisXDocument.UI.Confirm("Message that should be shown to user", XdConfirmButtons.xdYesNo))

    but it won't recognise thisXDocument.

    Can  anyone help please ?

  • 12-17-2013 01:31 AM In reply to

    Re: Confirm delete on button press in infopath form.

    Just so you know I never found a solution to this, if I do I will come back and edit this.

    In the end I just made a section that had a confirm and cancel button and just hid/showed that as appropriate and ran the code on button click of these.

    Thanks anyway

    Jacqui.

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