Bit of a nightmare, since the point is to collect leads, and the opt-in fields have not been appearing. If anyone can see what’s going on here (and even find a fix!) I’d be very grateful.
(Meantime I’ll need to go in and disable the conditionals on the ‘public’ site pages.)
]]>I’ve tried displaying the various forms concerned on blank test pages with nothing else on them, and they all work fine, so it’s some kind of conflict I assume, but I can’t nail it.
These are very simple forms – email address (only), and an ‘opt-in’ checkbox appears as soon as you start typing in the email field. For those seeing the site URL: this no longer works on (for example) the Home or Author pages, but works fine on the ‘CEO Executive Coach’ page. (I stress, although these are different forms, they are practically identical, and I’ve tried swapping them – it’s definitely about what page they’re on).
Looking at the console, I can see a JSON Uncaught SyntaxError (on page load), only on the pages where it isn’t working. So something is scrambling JSON…
That’s about as far as my technical/scripting knowledge can take me! If anyone knows how I might identify what the difference is between the working and non-working pages, or how to find out what’s conflicting… ideally without having to disable plugins one by one (there are rather a lot on this site) I’d be very grateful. Many thanks.
P.S. Looking at the logs, I strongly suspect this stopped working in late October, and I’ve only just noticed… in case that helps nail what might be causing it! (Every entry since then is ‘opted out’, which is the default).
]]>Since I am having 5 times a state-field in the email-section of contact-form 7. Its not parsing, respectively delivering an empty field in the email received. It’s working if I name the state-fields differently, but then I will have 3 (dependent on the number of state-fields) different state-columns in my database. I only would like to have ONE state-field in my database.
Any Idea? Help is much appreciated, Thank you!!
The logic:
show [group-States-empty] if [Country] equals ""
show [group-States-random] if [Country] not equals ""
and if [Country] not equals "Brazil"
and if [Country] not equals "USA"
and if [Country] not equals "India"
show [group-State-Brazil] if [Country] equals "Brazil"
show [group-State-India] if [Country] equals "India"
show [group-States-US] if [Country] equals "USA"
This sequence results in an empty field “State”.
Sequence in Email:
[group-States-US][State][/group-States-US]
[group-State-India][State][/group-State-India]
[group-State-Brazil][State][/group-State-Brazil]
[group-States-empty][State][/group-States-empty]
[group-States-random][State][/group-States-random]
~~~~~~~
This also results in empty fields
[group]
[group-States-US][State][/group-States-US]
[group-State-India][State][/group-State-India]
[group-State-Brazil][State][/group-State-Brazil]
[group-States-empty][State][/group-States-empty]
[group-States-random][State][/group-States-random]
[/group]
]]>Step-1
<label> Your Email (required)
[email* your-email] </label>
[checkbox* form-check id:form-check exclusive "one" "two"]
[group way-1]
[multistep multistep-14 first_step "https://spreading-library.000webhostapp.com/step-2"]
[submit "Next"]
[/group]
[group way-2]
[multistep multistep-224 first_step "https://spreading-library.000webhostapp.com/step-2"]
[submit "Next"]
[/group]
step-2
<label> Your Name (required)
</label>
<label> Subject
</label>
<label> Your Message
[textarea your-message] </label>
[multistep multistep-14 last_step send_email]
[submit "submit"]
step-2-part-2
<label> Your Name (required)
</label>
<label> Subject
</label>
<label> Your Message
[textarea your-message] </label>
[multistep multistep-224 last_step send_email]
[submit "Send"]
]]>Uncaught TypeError: Cannot read property 'addClass' of undefined at Wpcf7cfForm.displayFields
form.$groups.addClass('wpcf7cf-hidden')
;
I was able to avoid the error by rolling back to version 1.5 of Contact Form 7 Conditional Fields.
]]>I have select (drop down) in my contact form, I am add the conditions in condition fields.
Condition is:
DropDown Name : Equals : Last value in drop down (others) : Hide : Group id (text box)
DropDown Name : Not Equals : Last value in drop down (others) : Show : Group id (text box)
Both above conditions are not working,
If I add same condition for the first element in drop down, its working fine.
Can you please help me to resolve this.
]]>