How to password lock a simple collapsible content section

I have content that I want the end user to consume after they have completed a task. The password will be the confirmation that they have completed the task. Otherwise I want the content to be grayed out.

You could just use a custom state boolean (yes/no) to determine if the task is completed but if you do use the password then just have the grayed out content become visible if the input’s value is equal to the password on an element conditional.

Can you show me an example?

This topic was automatically closed after 70 days. New replies are no longer allowed.