Vertical text

I cannot figure out how to display the contents of a field vertically. I have a datetime field that I have formatted to display the 4 digit year and I would like to display the year vertically like this
2
0
0
6

Is this possible? Do I have to use a calculation and a text area/html area? Or is there a setting I am missing? Thanks.

Reed

If you are only displaying data, you can build some html in a calculation and display that in an HTMLArea.

TIP: write a method to create some html and display it in a field first. Much easier to debug a script than a calculation. You can also display your html both as HTML and plain text while you debug.

Something like this:

var year = '' + 2006; //force number to be a string

t = '<html><head></head><body>';
for(var i = 0; i < 4;i++) {
t += year[i] + '
';
}
t += '</body></html>';
myfieldname = t; //set some field to display

use css styles for in html header for formatting, bearing in mind the limitations of the HTML areas. Check the documentation carefully to see what works and what does not.

Awesome! Exactly what I needed. Thanks!

Reed