NXT Add In- Adaptive Card (close after entering info)

Options

I have two flyout add ins in NXT on the Constituent Page. (adaptive cards) I've noticed that after users enter information into an Adaptive Card and click Submit, a message pops up that at least confirms that it's been sent. The problem is the flyout stays open until the click outside of the flyout.

I was wondering if anyone has figured out a way to close the flyout after the Response message appears or after they have submitted the form.

I'm asking because many people forget they sent it so they click it again and the person receives two emails or possibly something will get entered twice.

Thanks,

Carol

Comments

  • Alex Wong
    Alex Wong Community All-Star
    Ninth Anniversary Kudos 5 PowerUp Challenge #3 Gift Management Name Dropper

    @Carol Grant
    While I haven't use Adaptive Card, and would love to hear from others experience on this, I think this is not possible to close the fly out as it is not “control” by the adaptive card.

    What you can try to do is to disable the submit button after it has been clicked once. If possible, change the button's text to “Submitted”. Although I don't know if that is possible with Adaptive Card. This is what I do using Glen's AIO, which allows me to use any custom JavaScript to manipulate the elements in the tile (or flyout).

    c6aaa5fddde46628b1721512130178d7-huge-im
    08aee6704f57c5a710e729165565b7e4-huge-im
    4ef5338d440e838a5e7bdb10f1c5ecca-huge-im

Categories