Show state of a checkbox/toggle depending on users selection on a different screen

Hello,

This is probably super simple! :man_facepalming:

On sign up I ask user to toggle a checkbox if they are over 21. I want to show the toggle as active if they checked it on sign up, or inactive if they didn’t - on their profile page.

I know you can prepopulate a form with users data, but I’m not using the form component.

Any ideas?

Many thanks for help!

use a toggle with a text stating what the toggle ie meant for
on the profile page input an a checked box icon and make its sometimes visible if the current user toggle is true

let me know if his was helpful

Hello! thanks for the help. Appreciated.

I think that makes sense. Basically show a checked toggle if set to true, show a unchecked toggle if it’s set to false.

I’m assuming the toggle should be set to false by default on the sign up page, otherwise it will have no value…

Would that be about right?

Many thanks, really appreciate your time, @primedev06 !

Yeah correct it should be set to false at sign up then it would be updated on the home page screen

Awesome! Done and working!

So obvious :man_facepalming: but I’ve learnt now!

Much appreciated, @primedev06. Hope you have a great day!

yeah and you too
i am happy i could help

did i solved this kindly let know and use the solution button

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.