Hello,
I am having an issue with a form I created. I have a lot of large gaps in between the text in the document view. I have tried a number of things to resolve this problem but nothing I have tried has been successful. Anyone know what to do when you have large gaps? The gaps seem to fill up once every option is entered but the workflow doesn't need all of the option entered. Thoughts?
You probably have already tried this but when I have this issues I look for extra carriage returns in the text translation boxes. In the example below the text should output on a single line with no additional spacing. If you can put your cursor in the area where I put the 'X' it will add an additional line all the time. Just delete out that blank space. Hope that helps.
{CFMT(DOCUMENT.BOTOXSUPPMED,"","","B","")}
X
If I had to guess your "New Line" option isn't based on if the field is filled out.
Make sure it doesn't look like this.
---
{CFMT(OBSNOW("obs"), "", "", "B", "")}
<----------Carriage return
---
And looks like this instead.
---
{CFMT(OBSNOW("obs"), "", "", "B", "
")}
---
yea, I deleted all the extra spaces. Should the curly brackets be on the same line as the code? That is one thing I didn't try. here is the code.
{
If obsnow("chem drug 1") "" or obsnow("chem drug 2") "" or obsnow("chem drug 3") "" or obsnow("chem drug 4") "" or obsnow("chem drug 5") ""
Then
FMT("Cervical Region
", "B,")
else""
endif
+
CombineLastAnd(", ", obsnow("chem drug 1") , fnNeckPain(), fnCervicalRadiculitis(),fnCervicalStenosis(),obsnow("chem drug 5"))
}
{
If obsnow("chem drug 6") "" or obsnow("chem drug 7") ""
Then
FMT("Thoracic Region
", "B,")
else""
endif
+
CombineLastAnd(", ", obsnow("chem drug 6") , fnThoracicPain())
}
{
If obsnow("chem drug 9") "" or obsnow("chem drug 10") "" or obsnow("chem drug 11") "" or obsnow("chem drug 12") "" or obsnow("chem drug 13") "" or obsnow("chem drug 14") ""
Then
FMT("Lumbar Region
", "B,")
else""
endif
+
CombineLastAnd(", ", obsnow("chem drug 9") , fnLumbarPain(), fnSciatica(), fnStenosis(), obsnow("chem drug 12"), obsnow("chem drug 14"))
}
{
If obsnow("CHEM DRUG 16") "" or obsnow("CHEM DRUG 17") "" or obsnow("CHEM DRUG 18") "" or obsnow("CHEM DRUG 40") ""
Then
FMT("Upper Extremity
", "B,")
else""
endif
+
CombineLastAnd(", ", fnShoulderPain(), fnElbowPain(), fnWristPain(), obsnow("chem drug 40"))
}
{
If obsnow("chem drug 20") "" or obsnow("chem drug 21") "" or obsnow("chem drug 22") ""
Then
FMT("Lower Extremity
", "B,")
else""
endif
+
CombineLastAnd(", ", fnKneePain(), fnAnklePain(), fnFootPain())
}
{
If obsnow("chem drug 39") "" or obsnow("chem drug 38") "" or obsnow("chem drug 37") "" or obsnow("chem drug 36") ""
Then
FMT("Pelvic Region
", "B,")
else""
endif
+
CombineLastAnd(", ", fnHipPain(), fnPiriformisSyndrome(), fnITBandSyndrome(), fnTrochantericBursitis())
}
{
If obsnow("chem drug 23") "" or obsnow("chem drug 24") "" or obsnow("chem drug 25") "" or obsnow("chem drug 26") "" or obsnow("chem drug 27") "" or obsnow("chem drug 28") ""
Then
FMT("Fixation
", "B,")
else""
endif
+
CombineLastAnd(", ", obsnow("chem drug 23"), obsnow("chem drug 24"), obsnow("chem drug 25"), obsnow("chem drug 26"), obsnow("chem drug 27"), obsnow("chem drug 28"))
}
{
If obsnow("chem drug 15") "" or obsnow("chemodose1") ""
Then
FMT("Other
", "B,")
else""
endif
+
CombineLastAnd(", ", obsnow("chem drug 15"), obsnow("chemodose1"))
}
Change this
}
{
To this
}{
AHHHH! that did it... now that I think about it... it makes sense too... thanks!