Notifications
Clear all
Topic starter
I am working on a form and in the translation, I' like several items to line up in a row/column.
Not sure if it makes sense, but I want it to look like
John (tab)(tab) 3
Jane (tab)(tab) 3
In other words have everything lined up. Can someone help with with the MEL code to do that? And where would I put this code?
Thanks!
Posted : January 28, 2015 3:18 pm
For things to line up, it helps to have your form using COURIER font.
COURIER Font is a true type font, where every character is the same width,
and you can get the "column" effect when using tabs to line up.
But COURIER is kind of ugly.
People have written complex functions that take the width of the answer
size(DOCUMENT.COLUMN_1) and add addition blanks to pad it out
to a size that approximates the maximum size of your longest answer...
I do not have one of those functions, but someone might share one here...
Here is a sample of using tabs in the text translation.
Example 2 Edit fields named COLUMN_1 and COLUMN_2
You want them side by side:
Edit field DOCUMENT.COLUMN_1:
{CFMT(DOCUMENT.COLUMN_1, "", "\t\t", "","")}
Edit field DOCUMENT.COLUMN_2:
{CFMT(DOCUMENT.COLUMN_2, "", "\t\t", "","
")}
- Beverly
Posted : January 29, 2015 8:37 am
Topic starter
Awesome Beverly! I'll give it a try! You rock!
Posted : January 29, 2015 12:02 pm