Forum


Calc Builder Support

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

back button 06.08.2013 05:01

Hi,
Is it possble to insert a back button into a frontend form so clients can go back to the last step if they want?
I also want to print directly after I hit the calculate button is this possible or is it just missing from the output?

Regards,

Brian

Re: back button 06.08.2013 10:38

Hello,
that will depend on how have you built your steps. If you have built some steps with javascript, then you can use same method to create a button and send the user back to a previous step.

About the automatic print, you can also profit from javascript tab to launch the export just when the calculator shows the output. You can add a line to the js tab 'executed after calculate execution', to 'click' the button without user interaction. The code would be like this:


var idform=CB(".cb_form").attr("id");
var seed=idform.replace("cb_form","");
CB('#'+seed+'cb_tools').click();


or, artenatively, you can use this line (not valid for IE6) :

CB("[id$='cb_tools']").click();


Please note this will launch export using script, so it may also launch the popup blocker if configured.


Hope this helps, regards
Moonsoft Team
www.moonsoft.es

Re: back button 06.08.2013 17:29

Hi,
I inserted the following java script into the calc builder, it gave me a "back" button but at the end of the calculator (step 8) and it also stopped the calculator from moving from one screen to the next, all showing on the same page. I have 8 steps and would like steps 2-8 to have the back button inserted. Can you help me please.

Code: CB("input[name=btback").click (function(){

Regards,

Brian

Re: back button 06.08.2013 17:45

Hello,

Sorry but we don´t know how your steps are built, as it is custom code you have introduced at your calculator. If it´s a calculator we built for you as a 'Custom Calculator Service', then we can guide you to introduce the back button in our code. Place a ticket in helpdesk with the calculator name, to share code with you.

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