GusRuss89
Forum Replies Created
-
Forum: Plugins
In reply to: [Live Preview for Contact Form 7] [contact-form-7 404 “Not Found”]I have updated the plugin with a fix for this issue. Please update and let me know if the issue is not resolved for you.
Thanks,
AngusI think I figured it out.
jQuery steps has a render function that copies all your form’s html and puts it into the step divs. This process loses all the events associated with the html (like the focus event on the input).
To fix this, I think you’ll need to make sure that the jQuery steps code runs before the material design code. You might be able to do this by adjusting the priority on the hooks, or you might even want to include the steps initialization code in a script tag at the bottom of your form. To do this you’d need to ensure the jQuery steps plugin is enqueued in the header (not footer), and in your script tag you’d need to replace
$('#questionnaire_medical')withjQuery('#questionnaire_medical').Hopefully that fixes your issue.
Thanks,
AngusHmm, what happens if you get to the last step with invalid fields on the first step? Do you have to click back through the steps to find all the invalid fields?
Can you try setting the
suppressPaginationOnFocusoption tofalsein your jQuery Steps initialization?https://github.com/rstaib/jquery-steps/wiki/Settings#behaviour
If that works, you’ll probably also want to disable
enableKeyNavigationby setting it tofalseas well.- This reply was modified 8 years, 3 months ago by GusRuss89.
Forum: Plugins
In reply to: [Live Preview for Contact Form 7] [contact-form-7 404 “Not Found”]Did you have Contact Form 7 activated when you installed and activated the plugin?
If not, try deactivating and reactivating the plugin while Contact Form 7 is active.
On activation the plugin creates a new form and hides it from view, but this won’t work if CF7 isn’t installed and active. This is a bug that I just realised exists. I will fix it in the next version of the plugin.
Thanks,
AngusI’ve taken a look at the jQuery steps plugin. It looks like the examples on their site are also using the jQuery.validate library. Are you using that as well?
Can you show me your form code?
Thanks,
AngusHi @morialkar
Could you please try turning off the “Mask form fields” plugin? Let me know if that fixes your issue or not. If it does, I will look into making my plugin compatible with that one. If it doesn’t, can you confirm that it’s definitely the jQuery steps plugin that is causing the issue?
Also, it looks like you’ve got a stylesheet that is copying all the plugin’s styles, but the plugin styles are still loading. Is this intentional?
You also have 2 different CF7 multi-step forms plugins installed, both of which are loading scripts.
Thanks,
AngusNice work!
Forum: Plugins
In reply to: [Material Design for Contact Form 7] Contact Form 7 Signature Addon@ericlmccormick the Contact Form 7 Signature plugin has now been updated and should work fine with my plugin.
Thanks,
AngusForum: Plugins
In reply to: [Material Design for Contact Form 7] Contact Form 7 Signature AddonHmm, that’s weird. Freemius should be able to handle that. I’ll ask them about this issue. @freemius should this be happening?
I’ve checked out the signature addon and figured out why it’s not working. I submitted this support request on their support forum asking them to make a change that will allow it to be compatible with my plugin. In the meantime, you should be able to get it working by updating the signature plugin directly.
In
plugins/contact-form-7-signature-addon/public/scriptson line 60, change this:// Submit Event Listener if (submit != null && typeof(submit) != 'undefined'){ submit.addEventListener("click", function(){ sigObj.beforeSubmit(); }, false); }To this
// Submit Event Listener if (submit != null && typeof(submit) != 'undefined'){ submit.addEventListener("click", function(){ sigObj.beforeSubmit(); }, false); } $(form).on('submit', function(){ sigObj.beforeSubmit(); });Hopefully the plugin developer will make the change himself as well, so next time you update it will continue to work.
Thanks,
AngusForum: Plugins
In reply to: [Material Design for Contact Form 7] Contact Form 7 Signature AddonAre you using the latest version of my plugin?
Can you check the freemius SDK version in your theme? There will be a folder in the theme called
freemius, and inside that isstart.phpwhich will have a line like this:$this_sdk_version = '1.2.4'. Can you let me know the version number?Thanks,
AngusForum: Plugins
In reply to: [Material Design for Contact Form 7] Contact Form 7 Signature AddonThe form is currently showing as not found. Let me know when it’s working so I can have a look. I haven’t tested my plugin with the Signature addon, and am not sure how it works, but can have a look and make sure everything will play nicely together.
Thanks,
AngusHi @wploki
You’ll need to make sure that the tags in your email template match the tags in your form.
Each of your fields has an ID after the field type. E.g. for your field
[text* your-name]the ID isyour-name. Your email template would then refer to this value as[your-name].If you go to the mail tab, you’ll see a list of available tags – these are based on the IDs of the fields you used in the form.
I also see you’ve currently got two fields with the same ID (
your-name).So what you should do is change all the IDs to something that matches your label, then make sure your email template references these IDs.
Your reCaptcha problem doesn’t sound related to my plugin. Does it happen when you’re sure you’ve got an internet connection? I’d ask on the CF7 forums instead.
Thanks,
AngusThanks @itmonitor, I will ensure this doesn’t become an issue.
Forum: Plugins
In reply to: [Material Design for Contact Form 7] Help with centering the formHi @itmonitor
Put this around your form code in the form editor.
<div style="max-width: 500px; margin: auto;"> ... your form code here </div>You can change the 500px to whatever width you think looks best.
Thanks,
AngusForum: Plugins
In reply to: [Live Preview for Contact Form 7] Black BackgroundsI have added a background colour option to the preview panel in the latest release so that you can set the background to be the same colour as it will be on your site’s front end.