WP-Contact Form 7 country list and 99 other extensions

Einfach Dinge, die nichts mit XAMPP, Apache Friends, Apache, MySQL, PHP und alle dem zu tun haben. Allerlei halt. ;)

WP-Contact Form 7 country list and 99 other extensions

Postby unleash_it » 10. January 2021 23:55

hello at all,

this thread belongs to the series of talks where we discuss common problems and best practice in the field of Wordpress-sites and their setup.


first of all: if you want to extend the cf7 plugin just head over to the plugin-page and see the many plugins https://wordpress.org/plugins/search/contact+7/

today: Contact Form 7 country list - methods to populate all countries drop-down & respective states-cities in my contact form

I want to populate all countries drop-down & respective states-cities in my contact form, I'm using Contact Form 7.
i have done some research and found several options to achieve this:

- one option is to populate all county values in shortcode.
- another option is to add country to be selected from drop-down,
only then respective states will be visible & the same logic will go for cities as depending on the states.

plugins and ideas:

- Country drop-down menu for Contact Form 7.
https://de.wordpress.org/plugins/cf7-countries/
with this plugin we will get „countries drop down“ Form tag in CF7. The countries list is the same countries list used by WooCommerce.
- listo: http://contactform7.com/listo/
we used Listo (a wordpress plugin) and added the writing [select countries data:countries] list of contries.

note: I want Get Current country(Find by IP) in cf 7 dropdown.

so the steps to take:

Below I find the country by IP:
Code: Select all
Country[select* countrylist id:Country "Please Select a Country" "United States|USA" "Afghanistan|AFG" "Albania|ALB" "Algeria|DZA" "American Samoa|ASM" ........ ]
(Note: ..... means list all countries defined)

since Contact Form 7 doesn't have a ready country list by default. we can go ahead and do the population of the values on our own:
we can populate all values by ourself: here some methods, options and dataset: cf. https://gist.github.com/MatthewEppelsheimer/1498955

Code: Select all
<?php
/*
UPDATED: December 31, 2011.
Modifications:
- Truncated the longest country names, including:
-- British Indian Ocean Territories (Chagos Archipelago) -> British Indian Ocean Territories
-- South Georgia and the South Sandhich Islands -> South Georgia & S. Sandwich Islands
UPDATED: December 19, 2011.
List taken from http://en.wikipedia.org/wiki/List_of_sovereign_states_and_dependent_territories_by_continent_(data_file)
Modifications:
 - deleted Antarctica
 - removed meta data
 - removed full names following commas
 - sorted by alpha
 - anglo- and North America-centric re-ordering
 - addition of short code wrapper
*/
?>


[select country "United States" "Canada" "Mexico" "United Kingdom" "-----" "Afghanistan" "Albania" 
cf. https://gist.github.com/MatthewEppelsheimer/1498955
see this is a list of countries:
Code: Select all
 [select country "United States" "Canada" "Mexico" "United Kingdom" "-----" "Afghanistan" "Albania" "Algeria" "American Samoa" "Andorra" "Angola" "Anguilla" "Antigua and Barbuda" "Argentina" "Armenia" "Armenia" "Aruba" "Australia" "Austria" "Azerbaijan" "Azerbaijan" "Bahamas" "Bahrain" "Bangladesh" - and so forth  "Yemen" "Zambia" "Zimbabwe"]


Source: https://gist.github.com/MatthewEppelsheimer/1498955

btw: see the solution for swiss-cities: all Swiss Orts (cities/villages)
Code: Select all
 [select Ort size:15 placeholder:_Ort_eingeben "Aadorf" "Aarau" "Aarberg" "Aarburg" "Aarwangen" "Zwieselberg" "Zwingen" "Zwischbergen"]



last but not least herre another plugin:

- Lead info with country for Contact Form 7
https://wordpress.org/plugins/contact-f ... h-country/

Lead info with country for Contact Form 7 is an addon module for the Contact Form 7 plugin. It helps you track the user who fills out a form.
All you need to do is add the [tracking-info] shortcode in the Message body of the contact form 7.

The lead tracking info includes: Form Page URL, Original Referrer, Landing Page, User IP, Country of the User IP and Browser. In order to display the Country it needs the GeoIP Detection plugin that can be found in the WordPress plugin repository. This plugin “provides geographic information detected by an IP adress”. This plugin auto-updates the GeoIP database once a week. This product includes GeoLite data created by MaxMind, available from http://www.maxmind.com. If the GeoIP Detection plugin is not installed and enabled, you will only see the IP address, without the country of the IP adress. We decided to use the GEOIP DETECTION plugin to handle the lookup of the country, because it’s a plugin that is actively developed and we saw no advantage in implementing all this functionality, when we could use an existing one.

The lead tracking info in this plugin includes:

Form Page URL
The URL on which the user filled out the form.

Original ReferrerThe URL from which the user came to your site.

Landing Page
The first page the user visited on your site.

User IP (is not included when using the shorcode [tracking-info-noip])
The IP address of the user who filled out the form.

Country of the IPThe country of the IP address of the user who filled out the form. If the country is 0, please check the FAQ information.

User Agent / Browser
The browser information of the user who filled the form.


question: do you know more options to add populate (all) countries drop-down & respective states-cities into the contact form cf7!?`

i love to hear from you


btw: see more usefull addons and extensions for the cf 7 https://de.wordpress.org/plugins/contact-form-7/

CF7 Customizer
https://de.wordpress.org/plugins/cf7-customizer/

Contact Form 7 Skins
https://de.wordpress.org/plugins/contact-form-7-skins/


Contact Form DB
https://de.wordpress.org/plugins/contact-form-cfdb7/
The „CFDB7“ plugin saves contact form 7 submissions to your WordPress database. Export the data to a CSV file.
By simply installing the plugin, it will automatically begin to capture form submissions from contact form 7.

FEATURES OF CFDB 7

No configuration is needed
Save Contact Form 7 form submitted data to the database.
Single database table for all contact form 7 forms
Easy to use and lightweight plugin
Developer friendly & easy to customize
Display all created contact form 7 form list.
Export CF7 DB (CF7 Database) data in CSV file


further addons:
-CFDB7 DB Switcher
-Drag & Drop File Upload
-Already Submitted?
Trigger error if a field is already submitted
-CF7 Repeater
CF7 Repeater plugin allows creating one or more field dynamically
Popup Message
Replace your validation and success messages into beautiful popup message to attract visitors.
-Export PDF File
Easy to export contact forms from database to PDF file

and also compatible with
Conditional Fields for Contact Form
Fast Secure Contact Form
JetPack Contact Form
Gravity Forms
Enfold Formulare
Formidable Forms
Ninja Forms
Caldera Forms


as mentioned above: this thread belongs to the series of talks where we discuss common problems and best practice in the field of Wordpress-sites and their setup.


https://wordpress.org/plugins/search/contact+7/




have a great day :) :D
Interessen: Bikes & steel frames: Linux & SBC https://www.allaboutcircuits.com :: die neuen Knowledge-Base: AFFiNE: There can be more than Notion and Miro. auf affine.pro :: WordPress Entwicklung - sic: make.wordpress.org/core/
User avatar
unleash_it
 
Posts: 811
Joined: 10. December 2011 18:32
Operating System: linux opensuse 12.1

Re: WP-Contact Form 7 country list and 99 other extensions

Postby unleash_it » 11. January 2021 08:49

btw see more extensions - that enhnace cf7


Honeypot: https://wordpress.org/plugins/contact-f ... tallation/
Description: This simple addition to the wonderful Contact Form 7 (CF7) plugin adds basic honeypot anti-spam functionality to thwart spambots without the need for an ugly captcha. The principle of a honeypot is simple — bots are stupid. While some spam is hand-delivered, the vast majority is submitted by bots scripted in a specific (wide-scope) way to submit spam to the largest number of form types. In this way they somewhat blindly fill in fields, regardless of whether the field should be filled in or not. This is how a honeypot catches the bot — it introduces an additional field in the form that if filled out will cause the form not to validate.



Contact Form 7 Multi-Step https://wordpress.org/plugins/cf7-multi-step/

Description: This is addon for Contact Form 7 that allows you create multi steps on only one form.
This is the best solution to keep the form as simple as possible to your visitors.
FEATURES
MAKE YOUR FORM LOOK BETTER WITH MULTI-STEP
EASY TO ADD STEP TAG TO YOUR FORM WITH A CLICK
EASY CUSTOM YOUR BUTTON FOR EACH STEP
UNLIMITED STEPS


Contact Form 7 Signature Addon https://wordpress.org/plugins/contact-f ... ure-addon/
this plugin adds a new field type to the Contact Form 7 plugin and allows users to add an handwritten signature to the message via a signature pad. The plugin uses Szymon Nowak’s great Javascript library (https://github.com/szimek/signature_pad).

Contact Form 7 Database https://wordpress.org/plugins/cf7-database/
“Save Submitted Messages for Contact Form 7” is open source software. The following people have contributed to this plugin

Contact Form 7 – PayPal Add-on https://wordpress.org/plugins/contact-f ... al-add-on/
If there is one add-on that gives your CF7 a shot in the arm, it must be PayPal because it allows you to integrate credit card payment options to your forms.

Contact Form 7 Style https://wordpress.org/plugins/contact-form-7-style/
If your CF7 theme is bored as hell and you would like to have a new lease of life, Contact Form 7 Style extension is an awesome tool for your personalization interest.

WordPress Extension For Mailchimp (Chimpmatic Lite) https://wordpress.org/plugins/contact-f ... extension/
WordPress Extension For Mailchimp (Chimpmatic Lite). Integrate Contact Form 7 with Mailchimp. Automatically add form submissions to predetermined lists in Mailchimp, using Mailchimp’s latest API. This Extension for Mailchimp supports multiple mailing lists and API Keys.


Contact Form 7 – Conditional Fields - by Jules Colle
https://wordpress.org/plugins/cf7-conditional-fields/
meta:Version:1.9.14 Last updated:2 months ago Active installations:100,000+ WordPress Version:4.1 or higher Tested up to:5.6 PHP Version:5.6 or higher Tags:contact form 7forms

MAIN FEATURES
SUPPORT FOR REQUIRED FIELDS
Required fields can be used inside hidden groups without causing validation problems.

HIDE/SHOW INFO IN EMAILS BASED ON WHAT GROUPS ARE VISIBLE
Conditional groups can now be added to the emails as well.
Just wrap the content with [group-name] ... [/group-name] tags.
GROUPS CAN BE NESTED: Groups can be nested, both in the form and in the email

Conditional Fields-Create Conditional Fields in Forms https://wordpress.org/plugins/cf7-conditional-fields/
this plugin adds conditional logic to Contact Form 7. If you edit your CF7 form, you will see an additional tag called “Conditional fields Group”. Everything you put between the start and end tag will be hidden by default. After you have added the field group(s), click Save and go to the “Conditional fields” tab to create one or more conditions that will make the group(s) appear.


Redirection for Contact Form 7 - by Query Solutions
https://wordpress.org/plugins/wpcf7-redirect
meta: Version:2.3.1 Last updated:6 days ago Active installations:200,000+ WordPress Version:4.7.0 or higher Tested up to:5.6 Languages:See all 11 Tags:Contact Form 7 Redirectcontact form 7 success pagecontact form 7 thank you pageredirect cf7redirect contact form 7

Description
The ultimate add-on for Contact Form 7 – redirect to any page you choose after mail sent successfully, firing scripts after submission, save submissions in database, and much more options to make Contact Form 7 poweful then ever.
NOTE: This plugin requires Contact Form 7 version 5.1 or later.

USAGE
Simply go to your form settings, choose the “Redirect Settings” tab and set the page you want to be redirected to.

FEATURES
Redirect to any URL
Open page in a new tab
Run JavaScript after form submission (great for conversion management)
Pass fields from the form as URL query parameters
Add Honeypot to minimize spam
Save form submissions to your database
NEW AND EXCITING
Cooperation with a world leading web accessibility solution – you can try it for free and make your website accessible to people with disabilities.
Interessen: Bikes & steel frames: Linux & SBC https://www.allaboutcircuits.com :: die neuen Knowledge-Base: AFFiNE: There can be more than Notion and Miro. auf affine.pro :: WordPress Entwicklung - sic: make.wordpress.org/core/
User avatar
unleash_it
 
Posts: 811
Joined: 10. December 2011 18:32
Operating System: linux opensuse 12.1


Return to Allerlei

Who is online

Users browsing this forum: No registered users and 129 guests