mackaltman
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7] Response message shows twice, why?Hmm, it definitely explains why there are so many unanswered threads (considering a lot of people have no clue the details of their physical server as they are working of shared hosting). In any case, how would you propose we discuss the resolution of the true issue at hand, considering it would be quite difficult match absolutely everything. Does @trollkarlsliv‘s issue just go ignored?
Well @trollkarlsliv, see if you can provide what @esmi is proposing. I actually have the resolution and am putting it on my server now. The issue is actually an issue with the plugin itself and what it outputs. Maybe you will get lucky and have absolutely everything setup exactly the same way so that I can share the answer, even though we’re working on different websites here.
- Physical Server:
- Host:
- Theme:
As a side note, I will definitely be trying to contact WP about the whole “guidelines” issue here as it doesn’t foster an environment where the community can assist each other. I’ve been using WP since 2004 and it was definitely not their stance prior.
Forum: Plugins
In reply to: [Contact Form 7] Response message shows twice, why?@esmi you want me to post my “own topic”; although, I am experiencing the same issue as @trollkarlsliv and I am trying to resolve it? I think @trollkarlsliv would be interested in knowing how to resolve the issue, especially since I am still working on it and plan on updating it.
Forum: Plugins
In reply to: [Contact Form 7] Response message shows twice, why?@trollkarlsliv I am having the same issue as well.
@buzztone This definitely is not a bug. Unless you feel that improperly identifying the hidden divs is “a bug” versus a development issue altogether.
There are two hidden divs here:
<div class="screen-reader-response"></div>
and
<div class="wpcf7-response-output wpcf7-display-none"></div>
Upon submission of a successful email, both are being populated with the message. I haven’t gone through all of the code but it seems maybe the javascript is choosing to place the information within a div containing “response”, but I haven’t verified it.
Within https://www.yourinstall.com/wp-content/plugins/contact-form-7/includes/js/scripts.js?ver=3.8.1, the following line is found for responseOutput and addresses the latter of the two above.
var $responseOutput = $form.find('div.wpcf7-response-output');
Later in the same file, you find the following:
var $response = $form.siblings('.screen-reader-response').first();
It seems the purpose of one of them is for the blind (“screen-reader”); however, we definitely don’t need both.
I am not that experienced with Contact Form 7. In fact, today is the first day I have used it. What would be the best solution in this issue? I don’t want to disable any functionality of the plugin itself.