Forum


Calc Builder Support

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

Calc builder with sections 07.08.2013 17:44

Hi
I have problem with validation of multiple sections.
I do not know too good php, and sorry for my english.

My code:

$result='SzerokośćWysokośćFelcKolor ramkiNazwa ProfiluOścieżnicaSkrzydłoIlośćUwagiTyp';
for($i=0;$icount($typ);$i+){
$result.='';
$result.=''.$szerokosc[$i].'';
$result.=''.$wysokosc[$i].'';
$result.=''.$wykon[$i].'';
$result.=''.$kolor[$i].'';
$result.=''.$profil[$i].'';
$result.=''.$osciez[$i].'';
$result.=''.$szkrz[$i].'';
$result.=''.$ilosc[$i].'';
$result.=''.$uwagi[$i].'';
$result.=''.$typ[$i].'';
$result.='';
}
$result.='';

It is checked only the first section, after adding the next section code does not check it anymore.

Also do you have solution for send pdf by mail after click custom button which shows in "Exit Layouts", after calculation (something like submit button).

Please help.
Maciek

Re: Calc builder with sections 08.08.2013 16:19

Hi
I have problem with validation of multiple sections.
I do not know too good php, and sorry for my english.

My code:

$result='SzerokośćWysokośćFelcKolor ramkiNazwa ProfiluOścieżnicaSkrzydłoIlośćUwagiTyp';
for($i=0;$icount($typ);$i+){
$result.='';
$result.=''.$szerokosc[$i].'';
$result.=''.$wysokosc[$i].'';
$result.=''.$wykon[$i].'';
$result.=''.$kolor[$i].'';
$result.=''.$profil[$i].'';
$result.=''.$osciez[$i].'';
$result.=''.$szkrz[$i].'';
$result.=''.$ilosc[$i].'';
$result.=''.$uwagi[$i].'';
$result.=''.$typ[$i].'';
$result.='';
}
$result.='';

It is checked only the first section, after adding the next section code does not check it anymore.

Also do you have solution for send pdf by mail after click custom button which shows in "Exit Layouts", after calculation (something like submit button).

Please help.
Maciek



Please help with sendindg pdf via mail after click custom button (generated like in your example "Email_PDF_example".

Edited by moon_1206 - 08.08.2013 16:20

Re: Calc builder with sections 08.08.2013 17:04

Hello,
please double check the first line of the for section, one + sign is missing from the last part

for(.........;$i++){


$i is in charge of incrementing the index to be checked, so it can be the origin of your issue.

About pdf generation, at this time can't be emailed AFTER the calculation has been shown. The example shows how to generate the pdf when calculate button is clicked, and email it attached, but it executed at the same time the rest of the calculations. In order to add a next step button with this function some custom code should be added.

If you're interested in a custom version, please place a ticket at the helpdesk, and we'll study which would be the best approach to get this.

Thank you, best regards
Moonsoft Team
www.moonsoft.es

Re: Calc builder with sections 08.08.2013 17:39

Thanks for answer.

About sections i have paste code without + , sorry.
Below is my code and still validation checks only first section.

Is this possible to add two mail adress for default send mail button?


$metr=1000000;
$result='SzerokośćWysokośćFelcKolor ramkiNazwa ProfiluOścieżnicaSkrzydłoIlośćIlość w mkwTyp';
for($i=0;$icount($typ);$i+){
$result.='';
$result.=''.$szerokosc[$i].'';
$result.=''.$wysokosc[$i].'';
$result.=''.$wykon[$i].'';
$result.=''.$kolor[$i].'';
$result.=''.$profil[$i].'';
$result.=''.$osciez[$i].'';
$result.=''.$szkrz[$i].'';
$result.=''.$ilosc[$i].'';
$result.=''.$mkw[$i]=($szerokosc[$i]*$wysokosc[$i]*$ilosc[$i])/$metr.' mkw';
$result.=''.$typ[$i].'';
$result.='';
$result.='';
$result.='Uwagi';
$result.='';
$result.=''.$uwagi[$i].'';
$result.='';
}
$result.='';

Re: Calc builder with sections 08.08.2013 17:39

Thanks for answer.

About sections i have paste code without + , sorry.
Below is my code and still validation checks only first section.

Is this possible to add two mail adress for default send mail button?


$metr=1000000;
$result='SzerokośćWysokośćFelcKolor ramkiNazwa ProfiluOścieżnicaSkrzydłoIlośćIlość w mkwTyp';
for($i=0;$icount($typ);$i+){
$result.='';
$result.=''.$szerokosc[$i].'';
$result.=''.$wysokosc[$i].'';
$result.=''.$wykon[$i].'';
$result.=''.$kolor[$i].'';
$result.=''.$profil[$i].'';
$result.=''.$osciez[$i].'';
$result.=''.$szkrz[$i].'';
$result.=''.$ilosc[$i].'';
$result.=''.$mkw[$i]=($szerokosc[$i]*$wysokosc[$i]*$ilosc[$i])/$metr.' mkw';
$result.=''.$typ[$i].'';
$result.='';
$result.='';
$result.='Uwagi';
$result.='';
$result.=''.$uwagi[$i].'';
$result.='';
}
$result.='';

Re: Calc builder with sections 08.08.2013 22:27

Hello,
saw you placed a helpdesk ticket, we'll continue support from there.

Thank you, best 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