cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ØsFënrîr
Helper I
Helper I

Make Survey with questions that turn green once processed

I am currently creating a form that allow the employee to check the physical site from a security point (like a surveillance round)

I would like that once the employee send a response to a question, the question turn green but after several failures I no longer have any leads.

P.s : I'm French so I use the E.U version of PowerApps

Volunteers to help me?

1 ACCEPTED SOLUTION

Accepted Solutions
rubin_boer
Super User
Super User

hi @ØsFënrîr 

i assume you are not using the form control, this is the case you could:

  • Add a variable to the screen's OnVisible = UpdateContext({ToggleState: false}) - the initial color being red
  • Set the Toggle's Deafult to the variable, Default = ToggleState
  • on the save icon's OnSelect = UpdateContext({ToggleState: true})
  • falsefill = red
  • truefill=green

Hope it helps

 

 

 
hey there if you liked the post give it a thumbs up, and if it solved your question please accept it as a solution.

View solution in original post

1 REPLY 1
rubin_boer
Super User
Super User

hi @ØsFënrîr 

i assume you are not using the form control, this is the case you could:

  • Add a variable to the screen's OnVisible = UpdateContext({ToggleState: false}) - the initial color being red
  • Set the Toggle's Deafult to the variable, Default = ToggleState
  • on the save icon's OnSelect = UpdateContext({ToggleState: true})
  • falsefill = red
  • truefill=green

Hope it helps

 

 

 
hey there if you liked the post give it a thumbs up, and if it solved your question please accept it as a solution.

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,548)