Forum


Calc Builder Support

Calc Builder support
Forums
Public write access is disabled. Please login

Inserting black spaces (Tab) via the code 05.12.2013 18:06

Hi,

I have a calculator with multiple YES/NO fields, if the field is selected the output layout restates the field name followed by the calculation. However it is not pleasing to the see as the length of the fields vary.

I would like to insert a "tab" or "consistent spaces" between field name and the calculation. I have experimented by inserting "\t" in the code, with no luck. The program seems to completely ignore "\t".

example:

if ($a == 'Y') $label1 = "Product name: \t" . ceil ($calculation1) ;

Any help would be greatly appreciated.
Thanks,
Jay

Re: Inserting black spaces (Tab) via the code 05.12.2013 18:36

Hi,
please note the output is built in html, so you could print at the output any layout able to arrange your results as needed, like for ex, a standard table.

You can place ##labelx## and ##calculationx## inside the cells to ensure they keep the alignment with other results.


Hope this helps, regards
Moonsoft Team
www.moonsoft.es
Are you satisfied with our products/services/support?
Please help us to keep improving, add a review at  joomla extensions site and  magento connect

Our clients' feedback