-
AuthorPosts
-
May 25, 2019 at 9:15 am #1104145
I am using a contact form element on my page and have configured all the fields I want. I put my own heading for the form but some other form title appears and I don’t know where it is coming from. \
my form title is “Please provide the following” but what appears is ““Officials” — North Shore Bombers Australian Football Club”
You can see the form here: https://new.northshorefc.com.au/transfer-from-junior-club/May 26, 2019 at 10:45 pm #1104368Hey vmrayner,
I see that your title is not showing and the other one is, but it seems to be correct. Please include an admin login in the Private Content area so we can investigate.Best regards,
MikeMay 27, 2019 at 12:15 am #1104379This reply has been marked as private.May 28, 2019 at 4:23 am #1104627Hi,
Thanks for the login, what I meant was that in the page source code the title seems correct, but I see that it is not.
This is not a default title, but I don’t know what is causing it. I tried creating a new contact form and it worked correctly, but copying your form carries the error over. I also tried debugging your form with no luck and looking for a script that would be doing this, again with no luck.
have you used this sentence anywhere else, or modified any theme files?
I checked many files but didn’t see that you did.
So short of recreating the form from scratch and not copying it from any other form, I wrote a script to correct this one form on this page and added this code to the end of your functions.php file in Appearance > Editor:function custom_script(){ ?> <script> (function($){ $(document).ready(function() { $("#top.page-id-5863 .contact-form-adjustment h3").replaceWith("<h3>Please provide the following</h3>"); }); })(jQuery); </script> <?php } add_action('wp_footer', 'custom_script');Another option is to update your theme to v4.5.7, perhaps this will correct.
I have never seen this type of error happen before.Best regards,
Mike -
AuthorPosts
- You must be logged in to reply to this topic.
