• I have update wordpress and contact form 7 version. in mail I have check “Exclude lines with blank mail-tags from output” but in email it’s showing [radio-1]. It will not removing empty tags

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    Do you have a field with name “radio-1” in the Form tab panel?

    Thread Starter shidhu40

    (@shidhu40)

    I have rendering its dynamically and update with ajax

    Thread Starter shidhu40

    (@shidhu40)

    I have create following html
    <div class=”input-field-rgt”>
    <span class=”wpcf7-form-control-wrap radio-1″>
    <span class=”wpcf7-form-control wpcf7-radio” id=”WestCoast”>
    <span class=”wpcf7-list-item first”>
    <label><input name=”radio-1″ value=”Sept 5th – 14th, 17th (13 day)” type=”radio”><span class=”wpcf7-list-item-label”>Sept 5th – 14th, 17th (13 day)</span></label></span>
    <span class=”wpcf7-list-item”>
    <label><input name=”radio-1″ value=”Oct 3rd – 12th, 15th (13 day)” type=”radio”><span class=”wpcf7-list-item-label”>Oct 3rd – 12th, 15th (13 day)</span></label></span>
    <span class=”wpcf7-list-item”>
    <label><input name=”radio-1″ value=”Nov 15th – 24th, 27th (13 day)” type=”radio”><span class=”wpcf7-list-item-label”>Nov 15th – 24th, 27th (13 day)</span></label></span>
    <span class=”wpcf7-list-item”>
    <label><input name=”radio-1″ value=”March 27th – April 5th, 8th (13 day)” type=”radio”><span class=”wpcf7-list-item-label”>March 27th – April 5th, 8th (13 day)</span></label></span>
    <span class=”wpcf7-list-item”>
    <label><input name=”radio-1″ value=”May 15th – 24th, 27th (13 day)” type=”radio”><span class=”wpcf7-list-item-label”>May 15th – 24th, 27th (13 day)</span></label></span>
    <span class=”wpcf7-list-item last”><label><input name=”radio-1″ value=”Other Dates” type=”radio”><span class=”wpcf7-list-item-label”>Other Dates</span></label></span>
    </span>
    </span>
    <span class=”wpcf7-form-control-wrap date-119″><input name=”date-119″ value=”” class=”wpcf7-form-control wpcf7-date wpcf7-validates-as-date” aria-invalid=”false” style=”display: none;” type=”date”></span>
    </div>

    Hello, I restart this post because I also have a problem with this feature.

    I have a form including the shortcode [text], [email], [tel], [number] and [textarea]. I wish that when sending the form all the fields that have not been filled do not appear in the mail.

    I checked the box “Exclude lines with blank mail-tags from output”.

    The empty fields [email], [tel] and [number] are not displayed, but the other empty fields [text] and [textarea] are always present in the body of the email.

    Have you ever encountered this problem ? Do you have a solution to avoid this ?

    Here is an example of a field that appears in the mail :
    <label>[text contenance-3 class:requiredField placeholder "Contenance en ml"]</label>

    Thanks in advance.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Exclude lines with blank mail-tags from output’ is closed to new replies.