Support » Plugin: Caldera Forms - More Than Contact Forms » Perfect tool for complex forms <3

  • Very great plugin !!! I’ve been using it on many WordPress sites, and still working like a charm. If you have trouble sending emails, you have to refer to your mail server.

    Here’s an small evolution if your PHP configuration contains the GeoIP module (like automatically with the French provider Gandi), and if you want the extended phone field to be automatically filled with the user country code :

    add_filter('caldera_forms_phone_js_options', function($options) {
    		$options['initialCountry'] = (isset($_SERVER['HTTP_X_COUNTRY_CODE']) 
    			? $_SERVER['HTTP_X_COUNTRY_CODE'] 
    			: <default value>);
    		return $options;
    	}
    );
  • The topic ‘Perfect tool for complex forms <3’ is closed to new replies.