web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Display Input Dialog o...
Power Automate
Answered

Display Input Dialog or Custom Form and set modal to True

(0) ShareShare
ReportReport
Posted on by 42

Hi there,

 

I would like to display an Input Dialog or Custom Form activity and set its modal property to True, so as to prevent users from interacting with the rest of the page. Not sure if that's possible because I cannot find the option to enable it directly.

 

However, I was wondering that it might be a workaround by editing the code behind, copy-pasting the activity in Notepad:

 

Nock_1-1699005412113.png

.. by adding a new parameter like this (\"modal\": true):

 

Nock_0-1699006341977.png

 

... Also, tried to add the new parameter in the body like this (\"setFocus\": true):

 

Nock_0-1699005280883.png

 

I have tried (\"focus\": true), (\"isFocus\": true), (\"modal\": true), (\"isModal\": true)... in the header and also in the body, but unfortunately, these manipulations didn't work.

 

Any idea on how to solve this?

 

Your kind support will be highly appreciated.

I have the same question (0)
  • Verified answer
    Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    I have already replied to this in the I Love Automation Discord server, so just going to repeat the same thing here for future reference to other people.

     

    You can't do that in PAD, really. There's no such parameter as modal in the message boxes in PAD, and just adding it manually to the code will not change the behavior of the message box. The only way to block input is using the Block input action, but that would also block any inputs to the input dialog as well.

     

    As suggested, I would simply recommend using the input dialog before the page is opened, unless absolutely necessary to have both open at the same time. If the page is not open yet, there is no risk with the user messing it up.

    -------------------------------------------------------------------------
    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.

    I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.

  • Nock Profile Picture
    42 on at

    Thank you Agnius, your quick and efficient reply is highly appreciated.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 241 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 179

#3
Haque Profile Picture

Haque 159

Last 30 days Overall leaderboard