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 / Set required to true o...
Power Automate
Answered

Set required to true or false on check in CheckBox

(0) ShareShare
ReportReport
Posted on by 100

Hi not sure what is the correct approach to set the Required to true or false from a datacard from a checkbox onCheck.

 

I initialize a variable  with true boolean  when checkbox is on OnCheck 

vicsaisan_0-1714469391308.png

 

and set the Datacard  'required' to true whenever the checkBox is Checked else false. 

vicsaisan_2-1714469849014.png

 

 

vicsaisan_1-1714469757484.png

 





Categories:
I have the same question (0)
  • Verified answer
    shoog Profile Picture
    2,164 on at

    Right now your oncheck is comparing the varSuccess to true, I think you meant to write

    Set(varSuccess, true)

     to actually modify the value of the variable.

  • floxfloat Profile Picture
    100 on at

    Thanks @shoog ,  I just call the object instead updating the variable. 
    change to this in required from the datacard


    if(chkadd.value = true, true)

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 252 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 169

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard