PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

form parameter autop

  1. Hi, I encounter a strange autop formatting in a dynamically populated field (normal paragraph text field, not html), can you help me find out why ?

    here is my parameter code , the output is visible here

    http://dev.prairie-fleurie.com/partager/produit/598-509-466

    add_filter("gform_autoresponder_email_4", "poleouest_change_notification_email_4", 10, 2);
      function poleouest_change_notification_email_4()
      {
          $dest =  $_POST["input_2"] ;
          if ($_POST["input_3"])      $dest .=  "," . $_POST["input_3"];
          if ($_POST["input_4"])      $dest .=  "," . $_POST["input_4"];
          if ($_POST["input_5"])      $dest .=  "," . $_POST["input_5"];
          if ($_POST["input_6"])      $dest .=  "," . $_POST["input_6"];
          return $dest;
      }
      //http://www.gravityhelp.com/documentation/page/Gform_field_value_$parameter_name
      add_filter("gform_field_value_messagepartage", "populate_message");
        function populate_message($value){
            $str= "Bonjour, 
    
            je souhaite vous faire partager le site ffff.com à cette adresse: 
    
             ";
            if (strstr( $_SERVER["HTTP_REFERER"], " ffff.com"))
            $str .=  $_SERVER["HTTP_REFERER"];
            else $str .= "http://www.ffff.com.com";
           if (get_query_var("produit")!="")
               $str .=  "/produit/" . get_query_var("produit");
            return $str.$value;
        }
    Posted 12 years ago on Wednesday August 29, 2012 | Permalink
  2. hello, issue solved, due to extra content filters in my theme

    Posted 12 years ago on Thursday August 30, 2012 | Permalink
  3. Thanks for the update.

    Posted 12 years ago on Thursday August 30, 2012 | Permalink

This topic has been resolved and has been closed to new replies.