Checkboxes and Web and Column Alignment

Checkbox display on web with multiple columns

Here’s how I solved it.

Add the following html code before your checkbox field (passing through html):

<td

width=“33%”>

Add the editable checkbox field set to one column and with the following formula

for your choices:

holdReasons := @DbColumn(“”;“”;“LookupReasons”;1);

holdReasons:=@If(@IsError(holdReasons);“”;holdReasons);

holdNum := @Elements(holdReasons);

REM {3 is the number of columns};

holdColNum := @Round(holdNum/3);

list:= “”;

@For(n:=1;n<=holdNum;n:=n+1;

a := @If(n=holdColNum;holdReasons[n]+"/font><td width="33%" valign="top"><font

size="2" face="Arial">]" + “|” + holdReasons[n] ;

@If(n=holdColNum*2; holdReasons[n]+"/font><td width="33%" valign="top"><font

size="2" face="Arial">]" + “|” + holdReasons[n] ;

holdReasons[n] + “|” + holdReasons[n]));

list:= @If(list=“”;a;list:a)

);

list

Add the following html code below your checkbox field to close the font,column,row

and table tags (passing through html).