PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Allow all users to delete entries

  1. Hey guys,

    I'm building a secure form system to allow users to transmit personal information to a separate 3rd party system.

    I have completed the process completely so that on the redirect page after submission, the pages sends the data to the 3rd party system and the information is stored. I would not like to immediately delete the information from out web server database. So I use:

    RGFormsModel::delete_lead($lead_id);

    at the end of the code. This however gives me an error "You don't have adequate permission to delete entries." for non-logged in users which 100% of the people submitting the information will be. Is there any way around this that you know of?

    Thanks!
    Eric

    Posted 9 years ago on Friday March 15, 2013 | Permalink
  2. Do you mean you want to immediately delete it, or NOT immediately delete it? (This sentence was unclear: 'I would not like to immediately delete the information')

    To delete an entry immediately after it is created, you can use this http://www.gravityhelp.com/forums/topic/purposefully-not-save-form-in-entries-database#post-15601

    Posted 9 years ago on Sunday March 17, 2013 | Permalink