CalcBuilder Forum

does not work table, if it contains more rows than one

User moon_1758 2014-08-09 05:31:25

Hello,
I have created a hidden block in the form of a table that contains five fields of type "option list"(1), "option list"(2), "number", "result inline"(1), "result inline(2)."
Also set the price matrix for the fields "option list", "option list". The result of this combination is displayed in the "result inline(1)."
This table works if it contains only one such line calculated.

Perhaps the visitor will want to calculate the price for just two (or more) combinations "option list"(1) - "option list"(2).

But when I add in this table have 2-3 lines with the same fields, the table will not work.

Also, the table does not work if I add these lines via the "section".

How to make a table to work with several of these lines?

Moonsoft support 2014-08-11 09:10:58

Hello,

In any form, if you use the same fields name in one form, you'll only get the last one. If you need to get several lines you should replicate your fields and the inline results with different variable names and include them at different rows of your table.

Hope this helps. Regards,

...
Support/development

Perfect for small code changes or to correct any bug at your site

Buy now!
...
Support/development 40 hours

With the peace of mind of having a professional team at your service (20% discount)

Buy now!