Hide field not working
-
the signups on this page use EasyForms. Both the Source and the Interest field are checked as hide Field = checked but are showing as not hidden on the page … when I set this up a few weeks ago hide field worked as you would expect. any idea what has gone wrong?
The page I need help with: [log in to see the link]
-
Hi @sgblogadmin,
I don’t know exactly what’s going on but it appears like a plugin or theme on your site is stripping “inline styles” when a page is loaded.
When I view the rendered code of your site, I see the proper
style="display: none;"elements which hide the fields. However, when I inspect the fields I no longer see these styles.I’ve seen similar things before where inline styles are stripped and applied separately.
Does any of this sound familiar or plausible? Are you using any optimization plugins that could have a setting that does this?
Let me know.
Thank you,
Kevin.Thanks Kevin for a great quick reply. I’m not a coder but we do have WP Optimize, WP Supercache, WP Minify Fix, maybe others… I will look / send them your thoughts and get back to you once we’ve fixed or with more questions.
Frustrating but that is wordpress plugin life!
Tim
Hey Tim,
Yeah what I would do is quickly browse the settings of WP Optimize and see if there is a “disable inline styles” or anything that mentions inline styles. The option might be in one of the other plugins you listed but I would check WP Optimize first.
Cheers,
Kevin.I tried disabling WP Optimize .. I have done, but it still does not work so it is elsewhere I think
Did you also try clearing your cache via WP Supercache while Optimize was disabled? One of the issues with caching plugins is that they make it hard to test those kind of quick changes.
By the way, if I scroll down to your form and load the page, I actually see the fields appear after the form. This lends further credence to the theory that the styles are being stripped.
Sorry I thought I’d written – our dev guy adjusted some jQuery and says it will not happen again – thankyou very much both of you for great support, Tim
Great news!
Have a good day.
-Tracy
The topic ‘Hide field not working’ is closed to new replies.