Do not let users use a feature (user needs to wait 48 hours)?

Hello! I have a feature in my app were my users change how much they weight. I want to make it so users can only change every 48 hours. The action that changes the weight, only works when the weight change is false on the user. Could any one point me in the right direction?

Hi @Viission_training

I believe you can record the time when they submit the weight and then add 2 days to that timeframe. After the user submits, you can set a condition that only allows changes if the submitted date and time is before the current time.

I hope this will help.

Thanks
Shantanu

Thank you so much for your help! By chance did I do this correctly?

Hi,

This may work but instead capture the timing and apply the mentioned filter.

Will do, thank you for your help!

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