dutchalfred
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7] shortcode_attr with default value for radio fieldAny clue how to resolve this?
Forum: Plugins
In reply to: [Contact Form 7] shortcode_attr with default value for radio fieldBTW: great that you pick this up so quickly!
Forum: Plugins
In reply to: [Contact Form 7] shortcode_attr with default value for radio fieldPlease check the form on https://www.allianceexperts.com/test-new-form/
The Service value which is a text field is picked up perfectly, but the County2 value which is the dropdown has no effect.
- This reply was modified 1 year, 1 month ago by dutchalfred.
Forum: Plugins
In reply to: [Contact Form 7] shortcode_attr with default value for radio fieldHi, I have more or less the same question, but then for Dropdown lists. I make these lists with the <select> option, so that I can also have sections in it.
This is my shortcode to get the form:[contact-form-7 id="6c7e8f0" title="Costing & Proposal form" service="ProposalMS" country2="Spain"]
And this is the dropdown I have:
<select name="country2"> <option>-- please select your target country --</option> <optgroup label="Americas"> <option>United States</option> <option>Canada</option> <option>Mexico</option> <option>Brazil</option> </optgroup> <optgroup label="Europe"> <option>United Kingdom</option> <option>Netherlands</option> <option>Germany</option> <option>Switzerland</option> <option>France</option> <option>Italy</option> <option>Spain</option> </optgroup> </select>
But the dropdown just shows the first option.
Forum: Plugins
In reply to: [Contact Form 7] Getting default values through the shortcodeThank you very much! This is really helpfull!
- This reply was modified 1 year, 2 months ago by dutchalfred.
Forum: Plugins
In reply to: [Contact Form 7] Not all forms in database are showing in backend form listIt has been resolved. Although I could not see the forms in the list, in my database I could still see the form ID’s. I pasted these form ID’s into the backend url of a visible form and got into the right form. When I saved the form again, it became visible in the list.
I don’t want to spend more time on such a backend problem but anyway wanted to share this workaround.
Forum: Plugins
In reply to: [Custom Content by Country (by Shield Security)] Not working for DenmarkThe two-letter country code for Denmark is dk. I think that should do the trick.
I discussed this with my web builder and the conclusion was that geolocation and CDN’s don’t work together, unless you exclude certain pages from the CDN.
This is always a problem with a CDN, since your website can be accessed from many servers in the world. And it is just which copy, with which content you will then see. So this may be the content for a few visitors before you.
Forum: Plugins
In reply to: [PVB Contact Form 7 Calculator Add-on] Multiselect checkboxes exampleI now see it works in the Pro-version only.
Forum: Plugins
In reply to: [Data Source for Contact Form 7] Character set not matchingWill do
Forum: Plugins
In reply to: [Data Source for Contact Form 7] Character set not matchingWhen I do this, no value is loaded any more.
Since this is a ‘live’ website, I changed it back.
- This reply was modified 3 years, 1 month ago by dutchalfred.
Forum: Plugins
In reply to: [Data Source for Contact Form 7] Character set not matchingSee here mySQL output: https://www.allianceexperts.com/PDF/Screenshot.png
Forum: Plugins
In reply to: [Data Source for Contact Form 7] Character set not matchingI use it in an automated proposal module, an example is: https://www.allianceexperts.com/sq/a/?oppid=a05f0bba-543c-6fb9-9c80-61ee82da2d3c
I put the symbols in the top right green block, with propprice1 as field name
I used a bit of custom code to display it as plain text in stead of a read-only field: in https://www.allianceexperts.com/wp-content/plugins/cf7-datasource/assets/script.js
Line 211 to 218
if(field[0].tagName == ‘TEXTAREA’ || field[0].tagName == ‘INPUT’) {
var element = document.getElementById(field[0].name);
if(element) {
element.innerHTML = value;
}
}However, I have the same result if I just display this as a normal editable or readonly form field.
- This reply was modified 3 years, 1 month ago by dutchalfred.
Forum: Plugins
In reply to: [Custom Content by Country (by Shield Security)] Does it conflict with CDN??Yes, it conflicts, at least with services like Cloudflare. In most cases you will see the IP from a recent visitor, not yours. I had to disable Cloudflare to get things working properly again.