• Hi

    I’ve found the page explaining how to make a delete switch on the record edit form – which is a nice feature. But as explained on the page there could be some troubles if a user deletes it accidentally. Is it possible to create a delete switch where the username gets changed instead of a the full deletion? And can I disable the private link while this is toggled so they can’t get access to their private page?

    This way the user information is still stored on the backend and the admin can always activate the user again if he/she wants to get the user back. The username should be changed to “olduser_{their username}” this way they can always create a new user with the same name.

Viewing 1 replies (of 1 total)
  • Plugin Author Roland Barker

    (@xnau)

    This is possible, it requires that you create custom code to handle changing the record to an inactive state. The plugin has an action that is called when a record is updated, you’d just have a checkbox for the user to deactivate the record, then your custom code would make the changes to the record as you describe.

Viewing 1 replies (of 1 total)

The topic ‘Disable Switch in the Record Edit Form’ is closed to new replies.