Skip to main content

Notifications

Microsoft Dynamics 365 | Integration, Dataverse...
Answered

How to disable form in Powerapps with JS code

Posted on by 30

Hi Everyone,

I try in how to make the form fields disable on the action has raised.

Plz reply.

js_5F00_powerapps_5F00_qa.PNG

  • Verified answer
    Bipin D365 Profile Picture
    Bipin D365 28,964 Super User 2024 Season 1 on at
    RE: How to disable form in Powerapps with JS code

    Hi,

    In your first If statement you have only mentioned status but it should be status.getValue()

    If Status is an optionset field and you want to compare the result with Text then you need to use status.getText()

    arunpotti.com/.../

    Whenever something does not work in JS, try to debug your code by following below steps -

    carldesouza.com/.../

    Please mark my answer verified if this is helpful!

    Regards,

    Bipin Kumar

    Follow my Blog: xrmdynamicscrm.wordpress.com/

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,113 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,918 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans