Hi All,
I'm new to honeycode. My Question is : Button which Allows customer to de-register, however it will not be a hard delete. Active flag will be set to N in Customers table. If user wishes to re-register, he can choose Returning User option and his details will be re-enabled with previous information too. Any suggestions would be useful
Hi @Pras-495b, welcome to the community, and thanks for posting!
This can be achieved by adding a column in your customer table that stores if the customer is active or inactive (registered or unregistered). With this set up, you can then simply change that status rather than deleting the row of data. This is how it would look:
In Builder, you can then create a button with an automation that will update the registration status of a particular user. In my example, I have it look for the row that matches the $[SYS_USER] (the user currently using the app) and update the status to "Inactive" to unregister the user:
FINDROW formula to update the status: =FINDROW(Status, "Status[Status]=%", "Inactive")