Calc Builder Support

Calc Builder support
No se permite escribir sin estar logado. Por favor, login

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


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".


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

Any help would be greatly appreciated.

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

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
Are you satisfied with our products/services/support?
Please help us to keep improving, add a review at  joomla extensions site and  magento connect

Lo que nuestros clientes opinan de nosotros