• Resolved rodmiller

    (@rodmiller)


    Hi

    Thanks for a great product, it’s working wonders for us. I have a small issue though when we get our notification emails there seem to be extra line breaks in the emails.

    I’ve set up a table so we can just drag and drop the information into a spreadsheet but on each of the table cells it puts extra lines in the cells and on the first table cell of each email it puts one extra enter.

    Hi,
    
    A booking for the {form_name} has been made by:
    
     {field_id="14"} {field_id="15"} 
    
    Their details are:
    <table border="0" style="border-collapse:collapse; table-layout: fixed; width: 100%;">
    	<tbody>
    		<tr style="width:100%;">
    			<td style="padding: 0px; margin:0px;">
                     {field_id="11"} 
    			</td>
    			<td style="padding: 0px; margin:0px;">
    				 {field_id="15"} 
    			</td>
    			<td style="padding: 0px; margin:0px;">
    				{field_id="14"}
    			</td>
    			<td style="padding: 0px; margin:0px;">
    				{field_id="9"}
    			</td>
    			<td style="padding: 0px; margin:0px;">
    				{field_id="12"}
    			</td>
    			<td style="padding: 0px; margin:0px;">
    				{field_id="13"}
    			</td>
    			<td style="padding: 0px; margin:0px;">
    				{field_id="2"}
    			</td>
    			<td style="padding: 0px; margin:0px;">
    				{field_id="10"}
    			</td>
    		</tr>
    	</tbody>	
    </table>

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hey @rodmiller,

    Thanks for contacting us!

    When you have some time, can you please share the page URL along with the exported copy of the form so I can take a closer look?

    Kindly,

    Thread Starter rodmiller

    (@rodmiller)

    Hi Prashant

    The form can be found here

    A copy of the email can be found here

    A screenshot of the copy and paste can be found here.

    The form export is below:

    [{"fields":{"14":{"id":"14","type":"text","label":"First Name","description":"","size":"medium","placeholder":"","limit_count":"1","limit_mode":"characters","default_value":"","input_mask":"","css":""},"15":{"id":"15","type":"text","label":"Last Name","description":"","size":"medium","placeholder":"","limit_count":"1","limit_mode":"characters","default_value":"","input_mask":"","css":""},"9":{"id":"9","type":"text","label":"Address","description":"","required":"1","size":"medium","placeholder":"e.g. 123 Charles Street","limit_count":"1","limit_mode":"characters","default_value":"","input_mask":"","css":""},"12":{"id":"12","type":"text","label":"Town","description":"","required":"1","size":"small","placeholder":"e.g. Port Macquarie","limit_count":"1","limit_mode":"characters","default_value":"","input_mask":"","css":""},"13":{"id":"13","type":"text","label":"Postcode","description":"","required":"1","size":"small","placeholder":"e.g. 2444","limit_count":"1","limit_mode":"characters","default_value":"","input_mask":"","css":""},"2":{"id":"2","type":"email","label":"Email","description":"","required":"1","size":"medium","placeholder":"[email protected]","confirmation_placeholder":"","default_value":"","filter_type":"","allowlist":"","denylist":"","css":""},"10":{"id":"10","type":"number","label":"Phone Number","description":"","required":"1","size":"small","placeholder":"0400000000","default_value":"","css":""},"11":{"id":"11","type":"number","label":"Membership Number","description":"","required":"1","size":"small","placeholder":"0000","default_value":"","css":""}},"id":"9470","field_id":16,"settings":{"form_title":"Macropod Training","form_desc":"","submit_text":"Submit","submit_text_processing":"Sending...","antispam":"1","form_class":"","submit_class":"","ajax_submit":"1","notification_enable":"1","notifications":{"1":{"email":"[email protected]","subject":"New Registration: {form_name} Registration Form","sender_name":"FAWNA NSW Inc","sender_address":"[email protected]","replyto":"{field_id=\"2\"}","message":"Hi,\r\n\r\nA booking for the {form_name} has been made by:\r\n\r\n {field_id=\"14\"} {field_id=\"15\"} \r\n\r\nTheir details are:\r\n<table border=\"0\" style=\"border-collapse:collapse; table-layout: fixed; width: 100%;\">\r\n\t<tbody>\r\n\t\t<tr style=\"width:100%;\">\r\n\t\t\t<td style=\"padding: 0px; margin:0px;\">\r\n {field_id=\"11\"} \r\n\t\t\t<\/td>\r\n\t\t\t<td style=\"padding: 0px; margin:0px;\">\r\n\t\t\t\t {field_id=\"15\"} \r\n\t\t\t<\/td>\r\n\t\t\t<td style=\"padding: 0px; margin:0px;\">\r\n\t\t\t\t{field_id=\"14\"}\r\n\t\t\t<\/td>\r\n\t\t\t<td style=\"padding: 0px; margin:0px;\">\r\n\t\t\t\t{field_id=\"9\"}\r\n\t\t\t<\/td>\r\n\t\t\t<td style=\"padding: 0px; margin:0px;\">\r\n\t\t\t\t{field_id=\"12\"}\r\n\t\t\t<\/td>\r\n\t\t\t<td style=\"padding: 0px; margin:0px;\">\r\n\t\t\t\t{field_id=\"13\"}\r\n\t\t\t<\/td>\r\n\t\t\t<td style=\"padding: 0px; margin:0px;\">\r\n\t\t\t\t{field_id=\"2\"}\r\n\t\t\t<\/td>\r\n\t\t\t<td style=\"padding: 0px; margin:0px;\">\r\n\t\t\t\t{field_id=\"10\"}\r\n\t\t\t<\/td>\r\n\t\t<\/tr>\r\n\t<\/tbody>\t\r\n<\/table>"}},"confirmations":{"1":{"type":"message","message":"<p>Thanks for contacting Us<\/p>\r\n<p>We will be in touch with you shortly regarding your course booking<\/p>","message_scroll":"1","page":"2","redirect":""}}},"meta":{"template":"be32b8cc1eb80419086b4b282acf6d4b"}}]

    Hey @rodmiller – Thanks for following on this ticket!

    It seems that the spacing is coming because browser is considering enter key as HTML break. To fix the issue, please consider using following HTML code:

    <table border="0" style="border-collapse:collapse; table-layout: fixed; width: 100%;"><tbody><tr style="width:100%;"><td style="padding: 0px; margin:0px;">{field_id="11"}</td><td style="padding: 0px; margin:0px;">{field_id="15"}</td><td style="padding: 0px; margin:0px;">{field_id="14"}</td><td style="padding: 0px; margin:0px;">{field_id="9"}</td><td style="padding: 0px; margin:0px;">{field_id="12"}</td><td style="padding: 0px; margin:0px;">{field_id="13"}</td><td style="padding: 0px; margin:0px;">{field_id="2"}</td><td style="padding: 0px; margin:0px;">{field_id="10"}</td></tr></tbody></table>

    Kindly,

    Thread Starter rodmiller

    (@rodmiller)

    Thanks, heaps that fixed it.
    Rod

    Awesome @rodmiller. If you have any questions, please feel free to reachout.

    Kindly,

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Extra lines in notification emails’ is closed to new replies.