• Hi, wondering if anybody’s had any issues with Line Breaks being inserted where you haven’t added any?

    I have groups of conditional fields on my Contact Form. I ask users to select a checkbox, and depending on the selection, this triggers the relevant group. When selecting the “Wedding” checkbox, the associated conditional field is displayed correctly underneath the checkboxes with no Line Break.

    However, when either the “Burns Supper” or “Other Event” checkbox is selected a Line Break is always added before displaying the conditional fields associated with those selections.

    I don’t understand why this is happening. As far as I can see I don’t have any Line Breaks added to the top of these groups. The code is here:

    <label> Your Name (required)
        [text* your-name] </label>
    
    <label> Your Email (required)
        [email* your-email] </label>
    
    <label> Telephone Number
    [tel tel-848] </label>
    
    <label>What occasion would you like to book a piper for? (required) </label>
    [checkbox checkbox-event_type exclusive "Wedding" "Burns Supper" "Other Event"]
    
    [group group-wedding clear_on_hide] <label> Wedding Date
    [date date-wedding placeholder "Wedding Date"] </label>
    
    <label> Bride or Civil Partner's Name
    [text bride-name] </label>
    
    <label> Groom or Civil Partner's Name
    [text groom-name] </label>
    </br>
    <label>Which part of your day would you like your piper for?</label>
    
    [checkbox checkbox-809 exclusive "Ceremony AND Reception" "Ceremony only" "Reception only"]
    [/group]
    </br>
    [group group-wedding-ceremony clear_on_hide]
    <label> Wedding Ceremony Venue
    [text your-ceremonylocation] </label>
    
    <label> Ceremony Start Time
    [text ceremony-start-time] </label>
    
    </br>
    
    <label>Choose when you wish your piper to play at your Wedding Ceremony:</label>
    
    [checkbox checkbox-735 "Highland Pipes for Guests' Arrival"]
    [checkbox checkbox-724 "Highland Pipes for Bride and Bridal Party's Arrival"]
    [checkbox checkbox-566 exclusive "Highland Pipes for Entrance of the Bride" "Small Pipes for Entrance of the Bride"]
    [checkbox checkbox-975 "Small Pipes during Signing of the Register"]
    [checkbox checkbox-603 "Highland Pipes to play the Married Couple Down the Aisle"]
    </br>
    [/group]
    
    [group group-wedding-reception clear_on_hide]
    <label> Wedding Reception Venue
    [text your-receptionlocation] </label>
    
    <label> Wedding Dinner Start Time
    [text reception-start-time] </label>
    
    </br>
    <label>Choose when you wish your piper to play at your Wedding Reception:</label>
    
    [checkbox checkbox-622 "Arrival of the Married Couple"]
    [checkbox checkbox-85 "Married Couple to the Top Table"]
    [checkbox checkbox-463 "Perform the Piper's Toast"]
    
    <label>Extras for later in the evening:</label>
    
    [checkbox checkbox-135 "Pipe in the Bride and Groom to cut the Wedding Cake"]
    [checkbox checkbox-113 "Pipe for the First Dance"]
    [checkbox checkbox-pipe_band "Pipe Band entrance during the evening's entertainment"]
    [checkbox checkbox-dancers "Piper and Highland Dancers' performance during the evening's entertainment"]
    [/group]
    
    [group group-Burns_Supper clear_on_hide] <label> Burns Supper Date [date date-Burns] </label>
    
    <label> Burns Supper Venue
    [text your-BurnsVenue] </label>
    
    <label>Choose when you wish your piper to play at your Burns Supper:</label>
    
    [checkbox checkbox-WelcomeArrive label_first "Pipe to welcome guests upon arrival" "Pipe in the Haggis" "Piper to Address the Haggis"]
    [/group]
    
    [group group-Burns_Supper_Guests_Arrival clear_on_hide]
    <label> Guests' Arrival Time
    [text Burns-guest-arrival-time] </label>
    [/group]
    
    [group group-Pipe_in_Haggis clear_on_hide]
    <label> Time the Haggis is to be piped in at
    [text haggis-time] </label>
    [/group]
    
    [group group-Other_Event clear_on_hide] <label> Event Type [text your-EventType] </label>
    
    <label> Where You Want Your Bagpiper
        [text your-location] </label>
    
    <label> Date Required
    [date date-807] </label>
    [/group]
    
    [group group-further_details clear_on_hide]
    <label> Your Message
        [textarea your-message] </label>
    [/group]
    
    [group group-recaptcha clear_on_hide]
    </br>
    
    <label>Do you consent to your enquiry being shared with my piper colleagues, should I not be available for your event? (required)</label>
    [checkbox* checkbox-consent exclusive "Yes" "No"]
    [/group]
    
    [group group-send]
    [submit "Send"]
    </br>
    [/group]

    Any advice would be much appreciated, thanks
    Glyn

    The page I need help with: [log in to see the link]

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

    (@takayukister)

    What other plugins do you use on the site?

    Thread Starter glynmo

    (@glynmo)

    Hi, I use the following:

    Arconix FAQ
    Contact Form 7
    Duplicate Post
    Feed Them Social
    Fusion Builder (this is my theme’s “builder” (Avada))
    SG Optimizer
    Slider Revolution
    WP Rocket
    Yoast SEO

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Unwanted and inconsistent Linebreak’ is closed to new replies.