It would be a nice to turn the user info tracking for the anonymous user on/off via a configuration setting.

To elaborate a bit on the problem at hand - I am currently working on a site that is mainly accessed via kiosk-style computer terminals, so we have multiple anonymous users throughout the day that will interact with contact forms in the same user session. For obvious reasons, it is not desired to have the name/email of previous users pre-populate the contact info form fields.

My current solution to this problem involves some hackery via hook_form_alter(), but again - it would be good to have a config option within the Contact module that would give control over this behaviour to site administrators.

I got a working patch for this, which will follow shortly.

CommentFileSizeAuthor
#1 d6-1198378.patch3.52 KBwidukind
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

widukind’s picture

FileSize
3.52 KB

Please see attached patch for the drupal 6 branch.