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.

Anonymous feedback form

  1. dnb
    Member

    Hi-
    I've been asked to create an anonymous online feedback form. This is the sort of thing I'd really like to avoid messing up, so I thought I would double check my current idea here. It looks like there are a few possible methods to dump the identifying data (like source IP address) from a submission.

    Would writing a gform_save_field_value() filter that just returned an empty string for certain fields be the best approach or is there something more elegant than that? Are there any non-obvious fiddly bits I should be sure to pay attention to beyond the data that will pass through this filter? (internal to GF, I'll be handling the web server logs separately).

    Thanks for any help you can offer.
    -- dNb

    Posted 12 years ago on Sunday February 26, 2012 | Permalink
  2. dnb
    Member

    Sorry, I think this one fell through the cracks. If someone from the GF mothership could lend an eyeball briefly to the question just to make sure I'm not totally screwing up with my approach, that would be much appreciated. Thanks!

    -- dNb

    Posted 12 years ago on Friday March 16, 2012 | Permalink
  3. dnb
    Member

    Really don't want to be a pain, but haven't heard back on this one. And since then, I had another requirement added: the survey entries should be unique (i.e. someone can't submit twice). Does anyone have any thoughts on a way to make an anonymous survey that you can only reply to once? Thanks!

    -- dNb

    Posted 12 years ago on Tuesday March 27, 2012 | Permalink
  4. There is currently no way to turn off IP address capturing. You would have to use custom code and the gform_pre_submission hook or gform_after_submission hook to reset the value of the IP address in the entry data after the form is submitted.

    As for limiting submissions to one per person... that would also have to be implemented as a customization. You would have to determine how you are even going to determine if the user has already submitted the form. There are a variety of methods to do this, but all of them require a customization.

    You could limit it by ip address, but you are wanting to not capture the ip address. You could use cookies and write code to set a cookie when the form is submitted and then read that cookie to see if it exists when the form is displayed. You could require the user login to submit the form and then do it by user id. Whichever way you go it's not something Gravity Forms does out of the box so you'd have to implement it as a customization.

    Posted 12 years ago on Friday March 30, 2012 | Permalink

This topic has been resolved and has been closed to new replies.