WordPress.org

Support

Support » Plugins and Hacks » Contact Form 7 Dynamic Text Extension » [Plugin: Contact Form 7 Dynamic Text Extension] obfuscate='on' not working?

[Plugin: Contact Form 7 Dynamic Text Extension] obfuscate='on' not working?

Viewing 3 replies - 1 through 3 (of 3 total)
  • In looking at the plugin code it appears that the obfuscate option is not available for POST or GET variables.

    I then tried to add the form to the actual post… the form then used this shortcode:

    [dynamichidden bioemail "CF7_get_custom_field key='contact'  obfuscate='on'"]

    the form shows up, but unfortunately the email can still be seen via view source. What exactly is the obfuscate=’on’ option supposed to do??

    A bit more clarity…. I had been viewing code using “inspect element” in Chrome… In looking at the code this way, I could read the email address. In looking at raw source, however I see the obfuscation. It can stop some bots from harvesting emails, but not humans…

    I modified Chris’ CF7_POST code so that it could take the obfuscate=’on’ flag if it was set, but what i would really like to see is a way to filter the value AFTER the user hits the send button, but before CF7 gets it . But after looking at the code, I’m guessing that it would require modifying both CF7 and CF7_DTX (since CF7_DTX essentially uses shortcodes inside of shortcodes…)

    At the end of the day, I would like to be able to send a single form dynamically to many people, without exposing their email address to bots OR humans…. passing parameters to the server to allow the lookup and insertion of the email address after the form is posted but before the mail is sent.

    Wow, thanks for the Chrome Inspector find, @tharpa.osang – I was pulling my hair out!

    Not sure if this will help you 10 months later, but I used Advanced Custom Fields plugin to create a custom field called email_address on my staff bios, then use [dynamichidden ToEmailAddress id:to-email "CF7_get_custom_field key='email_address' obfuscate='on'"] to pull it into my one form that sends to all staffers.

    So the obfuscation is not the same as encryption, but it works well enough for what I am trying to achieve.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Contact Form 7 Dynamic Text Extension] obfuscate='on' not working?’ is closed to new replies.
Skip to toolbar