You are viewing limited content. For full access, please sign in.

Question

Question

Forms emails occasionally skips spaces between words

asked on June 23, 2017

I'm finding that LF Forms emails occasionally skips spaces between words.

Example of wording within an email sent:  "...good luck with all your futureendeavors..."

The space between future endeavors is definitely there in the activity I configured, but it is not reflected in the outgoing email.  I find that there is at least one case of this in every email I've set up using a LF Forms email activity.

Is there a way to fix this?

0 0

Replies

replied on September 26, 2017

I am running into this same issue with Forms 10.2.1.157. When copying and pasting information into email notification activities, there is no missing spaces between the words until the email is sent. Everything must be typed out in order to prevent any missing spaces. This reminds me of the old issue with the HTML blocks on the forms themselves, except this time you can't tell that spaces will be removed in the preview.

 

In email

In forms

1 0
replied on June 23, 2017

What version of Forms are you using?

0 0
replied on June 23, 2017

The latest version (10.2).

0 0
replied on June 23, 2017

10.2.?.?

0 0
replied on June 23, 2017

Yes:  

0 0
replied on June 25, 2017

Hi Connie,

I was not able to reproduce this. Is it always the space between "future" and "endeavors" being lost? Can you check the html panel of the email activity and post the content here? What kind of email server do you use?

It would be better if you can open a support case and provide the process there.

0 0
replied on June 26, 2017

Usually, it's always the same spot that is the trouble, but it is not always just one email.  Almost every email notification that I set up has at least one spot that gives me this type of trouble.

0 0
replied on June 26, 2017

If I force a second space between the two words, the resulting email reflects the two spaces, however, if I leave just the one space in the trouble spot, the two words get jammed together.

0 0
replied on June 26, 2017

THE FOLLOWING IS (1) THE CODING CURRENTLY IN THE ACTIVITY, (2) COPIED FROM AN EMAIL SHOWING THREE WORD GROUPINGS RUNNING TOGETHER, (3) COPIED FROM AN EMAIL AFTER ADDING ADDITIONAL SPACES BETWEEN THOSE WORDS IN THE EMAIL ACTIVITY IN THE FORMS PROCESS DIAGRAM:

Dear {/dataset/First_Name} {/dataset/Last_Name}:

Thank you for your interest in the Flagstaff  County Educational Scholarship Program.

After review of your application, it was determined  that you do not qualify to receive this scholarship for the following reason:

Reason for Decision:  {/dataset/Decision_Notes}

 

We wish you luck with all your future endeavors.

If you have any further questions, please contact  the office.

Yours truly,

(is currently in the html coding – THIS IS REFLECTING THREE SPOTS THAT I HAVE HAD TO PUSH IN EXTRA SPACES IN ORDER TO STOP THE WORDS RUNNING TOGETHER)

 

Dear New WF Test:

Thank you for your interest in the 2017 FlagstaffCounty Educational Scholarship Program.

After review of your application, it was determinedthat you do not qualify to receive this scholarship for the following reason:

Reason for Decision: 

We wish you luck with all your future endeavors.

If you have any further questions, please contactthe office.

Yours truly,

(was emailed during a test run on June 22 – YOU CAN SEE THREE SPOTS WHERE THE WORDS RAN TOGETHER)

 

Dear Connie Test (8 45):

Thank you for your interest in the Flagstaff County Educational Scholarship Program.

After review of your application, it was determined  that you do not qualify to receive this scholarship for the following reason:

Reason for Decision:  Denied – The applicant’s submission did not meet the required criteria.

We wish you luck with all your future endeavors.

If you have any further questions, please contact  the office.

Yours truly,

(was emailed during a test run at 8:45 on Friday June 23 – YOU CAN SEE THE TWO SPOTS I HAD TO ADD IN EXTRA SPACES)

0 0
replied on June 26, 2017

In Word, you can see where the extra spaces are more easily:

0 0
replied on June 26, 2017

Is that all Html coding in your email's body? Not even a <br>? Then the whole content would be in one line?

I'm asking this because it looked like some kind of special character was used in these places so email client could not show it as space. I tried adding &#10; to html coding and it did look like a space in visual panel but it would not be a space in email client (I used Outlook.)

But &#10; would also show as a space in html panel so I think we need to check steps definition in db instead.

SELECT * FROM [dbo].[cf_bp_steps] where process_id = (SELECT process_id FROM [dbo].[cf_bp_processes] where bp_id = YOUR_BP_ID)

Use the above query to get all steps for your process, find the email service task and get the definition_json. It should look like this:

{"__type":"serviceTask","name":"Service Task"...

You can check if the content contains something like \u000a which is the bad character.

0 0
replied on June 29, 2017

Rui, I wasn't able to follow your instructions to get all the steps.  I'm not sure where to go to get that.

While looking, I realized there was the second tab, for html, so I grabbed that for you:

<p></p><div><p class="MsoNoSpacing"><span lang="EN-CA" style="font-size:11.0pt;line-height:
115%;font-family:&quot;Verdana&quot;,sans-serif;mso-fareast-font-family:Calibri;
mso-fareast-theme-font:minor-latin;mso-bidi-font-family:&quot;Times New Roman&quot;;
mso-bidi-theme-font:minor-bidi;mso-ansi-language:EN-CA;mso-fareast-language:
EN-CA;mso-bidi-language:AR-SA">Dear {/dataset/First_Name}&nbsp;</span><span style="font-family: Verdana, sans-serif; font-size: 14.6667px;">{/dataset/Last_Name}</span>:<br></p><p class="MsoNoSpacing"><span lang="EN-CA" style="font-family:&quot;Verdana&quot;,sans-serif;
mso-fareast-language:EN-CA">Thank you for your interest in the Flagstaff &nbsp;County Educational Scholarship Program. <o:p></o:p></span></p><p class="MsoNoSpacing"><span style="font-family: Verdana, sans-serif;">After review of your application, it was determined &nbsp;that you do not qualify to receive this scholarship for the following reason:</span><br></p><p class="MsoNoSpacing"><span style="font-family: Verdana, sans-serif;">Reason for Decision:</span><span style="font-family: Verdana, sans-serif;">&nbsp; {/dataset/Decision_Notes}</span><br></p><p class="MsoNoSpacing"><o:p></o:p></p><p class="MsoNoSpacing"><span style="font-family: Verdana, sans-serif;">We wish you luck with all your future endeavors.</span><br></p><p class="MsoNoSpacing"><span style="font-family: Verdana, sans-serif;">If you have any further questions, please contact &nbsp;the office.</span><br></p><p class="MsoNoSpacing"><span style="font-family: Verdana, sans-serif;">Yours truly,</span><br></p><p class="MsoNoSpacing"><span lang="EN-CA" style="font-family:&quot;Verdana&quot;,sans-serif;
mso-fareast-language:EN-CA"><o:p>&nbsp;</o:p></span></p><p class="MsoNoSpacing"><span lang="EN-CA" style="font-family:&quot;Verdana&quot;,sans-serif;
mso-fareast-language:EN-CA"><br>
S. Armstrong, CLGM<o:p></o:p></span></p><p class="MsoNoSpacing"><span lang="EN-CA" style="font-family:&quot;Verdana&quot;,sans-serif;
mso-fareast-language:EN-CA">Chief Administrative Officer<o:p></o:p></span></p><p class="MsoNoSpacing"><span style="font-family: Verdana, sans-serif;">/gb</span><br></p></div>

0 0
replied on August 17, 2017

Connie, were you able to get this resolved?  We have a customer that is also experiencing spacing issues with emails sent from Forms.

0 0
replied on August 21, 2017

I am just back from two weeks holiday and checking out where I left off on things.  I remember I was testing a new form process the last week of July and during the set up I had discovered that the duplicate spacing happened the most when I tried to cut and paste a Word document letter format into the email.  Previously, we sent out letters to the applicants, now they are sent as emails from LF Forms.  The cut and paste from Word created the most problems.  

Even so, when I typed the entire letters into the email activities without any cut and paste, any Enter keystroke created a double space instead of a single space break between paragraphs.  So, better results, but not perfect results.

The CAO's signature formatting also is effected by some spacing issues.  Again, this was brought in using a cut and paste action.  Would like to somehow be able to have her signature show up the way we want it in LF emails, but not sure what can be done about that.

0 0
replied on August 17, 2017

Hi Connie,

Sorry for the late response. The HTML content you send me contains multiple spaces, so I could not reproduce the original issue with that.

Can you send the HTML content with which you got the space missing issue?

0 0
replied on August 21, 2017

Rui, I have discovered that if I do not cut and paste the wording into the email activity, I get better results (see another reply done today above this post) however, the CAO's signature formatting is still a cut and paste.  Not sure if you can help me with that part. 

Below is the clip I did cut and paste into the email activity, plus the html section of this (which I did alter by removing the sections for the website address, email address and phone numbers, trying to minimize the impact of the additional spaces pushed in by the LF forms email activity), plus a copy of the final result in the actual email sent by LF forms email activity.

Shelly Armstrong, CLGM</span></b><br></p><p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Footlight MT Light&quot;,serif;
color:#002060;mso-fareast-language:EN-CA">Chief Administrative Officer <o:p></o:p></span></p><p class="MsoNormal"><!--[if gte vml 1]><v:shapetype id="_x0000_t75" coordsize="21600,21600"
 o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f"
 stroked="f">
 <v:stroke joinstyle="miter"></v:stroke>
 <v:formulas>
  <v:f eqn="if lineDrawn pixelLineWidth 0"></v:f>
  <v:f eqn="sum @0 1 0"></v:f>
  <v:f eqn="sum 0 0 @1"></v:f>
  <v:f eqn="prod @2 1 2"></v:f>
  <v:f eqn="prod @3 21600 pixelWidth"></v:f>
  <v:f eqn="prod @3 21600 pixelHeight"></v:f>
  <v:f eqn="sum @0 0 1"></v:f>
  <v:f eqn="prod @6 1 2"></v:f>
  <v:f eqn="prod @7 21600 pixelWidth"></v:f>
  <v:f eqn="sum @8 21600 0"></v:f>
  <v:f eqn="prod @7 21600 pixelHeight"></v:f>
  <v:f eqn="sum @10 21600 0"></v:f>
 </v:formulas>
 <v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"></v:path>
 <o:lock v:ext="edit" aspectratio="t"></o:lock>
</v:shapetype><v:shape id="Picture_x0020_3" o:spid="_x0000_s1026" type="#_x0000_t75"
 style='position:absolute;margin-left:-6.55pt;margin-top:7.05pt;width:97.8pt;
 height:67.2pt;z-index:-251658752;visibility:visible;mso-wrap-style:square;
 mso-width-percent:0;mso-height-percent:0;mso-wrap-distance-left:9pt;
 mso-wrap-distance-top:0;mso-wrap-distance-right:9pt;
 mso-wrap-distance-bottom:0;mso-position-horizontal:absolute;
 mso-position-horizontal-relative:margin;mso-position-vertical:absolute;
 mso-position-vertical-relative:text;mso-width-percent:0;mso-height-percent:0;
 mso-width-relative:page;mso-height-relative:page'>
 <v:imagedata src="file:///C:/Users/CPREND~1/AppData/Local/Temp/msohtmlclip1/01/clip_image001.jpg"
  o:title=""></v:imagedata>
 <w:wrap type="through" anchorx="margin"></w:wrap>
 <w:anchorlock></w:anchorlock>
</v:shape><![endif]--><!--[if !vml]--><img width="130" height="90" src="file:///C:/Users/CPREND~1/AppData/Local/Temp/msohtmlclip1/01/clip_image002.jpg" align="left" hspace="12" style="height:.93in;width:1.361in" v:shapes="Picture_x0020_3"><!--[endif]--><span style="font-size:10.0pt;font-family:&quot;Footlight MT Light&quot;,serif;color:#002060;
mso-fareast-language:EN-CA"><o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Footlight MT Light&quot;,serif;
color:#002060;mso-fareast-language:EN-CA">12435 Twp Rd 442 <o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Footlight MT Light&quot;,serif;
color:#002060;mso-fareast-language:EN-CA">Box 358 </span><b><span style="font-size:9.0pt;font-family:&quot;San serif&quot;;color:#002060;mso-fareast-language:
EN-CA">|</span></b><span style="font-size:10.0pt;font-family:&quot;Footlight MT Light&quot;,serif;
color:#002060;mso-fareast-language:EN-CA"> Sedgewick, AB&nbsp;</span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Footlight MT Light&quot;,serif;
color:#002060;mso-fareast-language:EN-CA">T0B 4C0</span><b><span style="font-size:10.0pt;font-family:&quot;San serif&quot;;color:#002060;mso-fareast-language:
EN-CA">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span></b><span style="font-size: 12pt; color: rgb(0, 32, 96);">&nbsp;&nbsp;</span></p></div>

 

0 0
replied on August 21, 2017 Show version history

Hi Connie,

For the image, you need to first save the image, place it in Forms install folder/img, so the image is hosted in Forms website and can be accessed with link like http://formsURL/Forms/img/clip_image001.jpg.

Then, add this to the HTML tab of email service task:

<img src="http://formsURL/Forms/img/clip_image001.jpg">

1 0
replied on August 25, 2017

Rui, thanks so much!  With the help of my IT staff today, we got this signature image working perfectly in the emails using your instructions on how to get the image in the email service task.  

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.