Menu

User delete form

Help
2005-08-24
2013-06-03
  • Syphenologist

    Syphenologist - 2005-08-24

    Does anyone know how to make a form that a user can delete thier own entry.

    eg. for a mailing list

    people signup with an email address, they can unsubscibe by going to a page and putting in there email address to delete the record.

     
    • TNTEverett

      TNTEverett - 2005-08-24

      Not terribly difficult but not part of phpFormGenerator.  There are also security issues to consider.  You would only want to allow the original subscriber to delete only their own entry and nothing else.  It is far better to allow an administrator to handle the delete function.  Do this by creating a form for persons to request that their entry be deleted.  This form would email the form administrator of the delete request.  The administrator would then be responsible for deleting the entry in the subscription database. 
      This is also commonly done as part of a subscription mailing.  At the bottom of the mailing there is an option to request that your email be removed.  This ensures that people are requesting an email be deleted that is in fact part of the database to begin with.  The reply address guarantees they are requesting to delete an entry that they are receiving. 
      Please consider using an alternative before requesting that this or a similar feature be added to your form or to the phpFormGenerator. 

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.