Spacing with different selected options and with end blocks

img
Hi!
I have 2 examples with spacing issues I can't seem to resolve.
The first one, there is a drop down menu. If I select a score of "0" it has an extra space between the end of the sentence and beginning of the next one.
If I select a score and fill out the fields, the spacing is normal between the ending of the sentence and the start of the next one.

In the 2nd example, there are 2 end blocks right before the if/else condition "with a resistance band" that seems to be creating the extra space between "band" and "at".

Thanks for all the help!

Hello again @sarah

Usually, the spacing will differ in these ways, because of varying gaps between the various blocks in the snippet.

Thanks for sharing the image, but it is still a bit hard to find out the issue :sweat_smile: Do you mind selecting all in your snippet, copying it, and pasting it here? Then we can take another look.

Thank you :slight_smile:

The patient performed transfer training with {formmenu: default=; no change in pain levels; transient change in pain levels that resolved within 1-2 minutes; name=pain}{if: pain = ""}{error: please specify; block=yes}{endif} and with a BORG RPE exertion score of {formmenu: default=; 0.; 1; 2; 3; 4; 5; 6; 7; 8; 9; 10; name=score}{if: score = ""}{error: please specify; block=yes}{endif} {if: score > 0}resolving within less than {formmenu: default=; 2; 4; 6; name=min}{if: min = ""}{error: please specify; block=yes}{endif} minutes.{endif} Overall, transfer performance during today's visit represents

Here's the fixed version:

The patient performed transfer training with {formmenu: default=; no change in pain levels; transient change in pain levels that resolved within 1-2 minutes; name=pain}{if: pain = ""}{error: please specify; block=yes}{endif} and with a BORG RPE exertion score of {formmenu: default=; 0.; 1; 2; 3; 4; 5; 6; 7; 8; 9; 10; name=score}{if: score = ""}{error: please specify; block=yes}{endif}{if: score > 0} resolving within less than {formmenu: default=; 2; 4; 6; name=min}{if: min = ""}{error: please specify; block=yes}{endif} minutes.{endif} Overall, transfer performance during today's visit represents

In particular, 1. I added a space before "resolving", and 2. removed a space after {error: please specify; block=yes}{endif}

Wow, perfect! Thanks so much.
My last issue is:

Therapist instructed the patient to perform the exercise {formmenu: default=; without external loads.; with external loads:; with a resistance band; name=load} {if: load = ""}{error: please specify; block=yes}{endif} {if: load = "without external loads"}{endif}{if: load = "with external loads:"}{formmenu: default=; 1 lb; 2 lb; 3 lb; 4 lb; 5 lb; 6 lb; 8 lb; 10 lb; name=lbs}{if: lbs = ""}{error: please specify; block=yes}{endif} {formmenu: default=; dumbbell.; kettlebell.; barbell.; ankle weights.; name=weight}{if: weight = ""}{error: please specify; block=yes}{endif}{endif}{if: load = "with a resistance band"}at {formmenu: default=; light; moderate; heavy; name=tension} resistance.{if: tension = ""}{error: please specify; block=yes}{endif}{endif}

If you choose "with a resistance band" there is an extra space between "band" and "at"

Sure, fixed:

Therapist instructed the patient to perform the exercise {formmenu: default=; without external loads.; with external loads:; with a resistance band; name=load}{if: load = ""}{error: please specify; block=yes}{endif} {if: load = "without external loads"}{endif}{if: load = "with external loads:"}{formmenu: default=; 1 lb; 2 lb; 3 lb; 4 lb; 5 lb; 6 lb; 8 lb; 10 lb; name=lbs}{if: lbs = ""}{error: please specify; block=yes}{endif} {formmenu: default=; dumbbell.; kettlebell.; barbell.; ankle weights.; name=weight}{if: weight = ""}{error: please specify; block=yes}{endif}{endif}{if: load = "with a resistance band"}at {formmenu: default=; light; moderate; heavy; name=tension} resistance.{if: tension = ""}{error: please specify; block=yes}{endif}{endif}

The way I try to fix this is deleting various spaces one by one, and trying to see which one fixes the issue :smiley:

1 Like

Thank you so much for your help! I will utilize your edits moving forward. :slight_smile: