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

Notifications

Announcements

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard