Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Copilot Studio - General
Unanswered

Disable submit button after first click in PVA using adaptive card

(0) ShareShare
ReportReport
Posted on by

We are using adaptive card in our PVA to get user contact details. The problem is arising when user hits on the submit button for multiple times, it creates parallel dialogs within the bot and the result of that leads into creation of duplicate contact record system.

So as many time as user hits on the submit button it leaves us with that many record in our system.

 

Our requirement is to disable the "Submit" button once user clicked on it. So we can stop the dialog from running multiple time and hence only one contact record is being created.

 

Please also note that we are using power automate flow to create contact record in our CRM.

 

PS: We are using Bot framework composer V1.2.1 and Adaptive Card V1.3.

 

We have tried below Suggestions:

Show/hide button
Duplicate detection power automate flow
Alternate key
Add delay in flow
Tried fetch XMl query in power automate
Duplicate detection plugin
Data Duplication rule within CRM
Setting counter in bot
Using concurrency in PAF 

 

 

 

  • Community Power Platform Member Profile Picture
    on at
    Re: Disable submit button after first click in PVA using adaptive card

    @Monkeyman There is not so much option to write code in bot composer framework. Can you suggest me where i can add this code.

  • Monkeyman Profile Picture
    325 on at
    Re: Disable submit button after first click in PVA using adaptive card

    Hey. You should be able to view and edit the code in bot framework composer 

  • Community Power Platform Member Profile Picture
    on at
    Re: Disable submit button after first click in PVA using adaptive card

    Hey @Monkeyman, I am using the adaptive card in the bot responses in bot framework composer. I don't see any place where this code can get added. Please let me know if you found anything related to this.

     

    Thanks for your help :-).

  • Monkeyman Profile Picture
    325 on at
    Re: Disable submit button after first click in PVA using adaptive card

    Hey this post might help:

     

    https://powerusers.microsoft.com/t5/General/How-to-hide-the-adaptive-card-form-after-user-click-on-Submit/m-p/1495284

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Copilot Studio - General

#1
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 18

#2
Pablo Roldan Profile Picture

Pablo Roldan 9

#3
stampcoin Profile Picture

stampcoin 8

Overall leaderboard