Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Answered

How to disable form in Powerapps with JS code

(0) ShareShare
ReportReport
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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans