Forum


Calc Builder Support

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

Calculator Help - populating sum into another form(rsform) 30.05.2012 23:28

Goal: to grab the calculated total sum("total square feet"), and populating that onto another form(RSform) on another page automatically.

Step 1: My client wants his calculator to look exactly like this: http://www.costar.com/costarconnect/MasterPage/PopUpHost.aspx?null&WebForm=MasterFormControllerW$oGridControllerW&UserForm=SpaceCalculator.ascx&AppModule=ConnectPopups/SpaceCalculator&PostBack=true&WaitPage=true&Title=Space%20Calculator&WaitTitle=Processing%20Your%20Request

Step 2: He wants the total rentable square feet to calculate then automatically grab the information and shove it onto a survey on a totally different page>>>http://www.brownofficerealty.com/survey.html. This will make it user friendly for a customer. The survey is actually an RSform, totally different software, but i'm sure the php code is the same in the background right?

Is this possible? Please help.

Re: Calculator Help - populating sum into another form(rsform) 31.05.2012 10:40

Hello,
we've checked your example page, and it is a calculator that you could build with calcbuilder. About passing values to another component, you could use different approaches, the right one will depend on how data could be recovered on the destination. Here are the ones we can think of, you should contact your support of rsforms to find out how you can recover and handle this data, if possible.

1.- Store values at user session. Place at the calculator code section the code to store your value(s)

$session = JFactory::getSession();
$session->set('myresult1', 'value1');
$session->set('myresult2', 'value2');


2.- Create a link with url variables to be printed as result of calculator.

$result="html Link with ?param1=value1¶m2=value2...";

3.- Store your values at database. Place at the calculator code section the query needed to populate destination tables:

$db =& JFactory::getDBO();
$query = "/* some valid sql string */";
$db->setQuery($query);
$result = $db->query();



Hope this helps, regards

Edited by MSTeam - 31.05.2012 10:42
Moonsoft Team
www.moonsoft.es

Re: Calculator Help - populating sum into another form(rsform) 31.05.2012 18:30

Great, just let me know how much and I'll happily give you access to my clients website.

Re: Calculator Help - populating sum into another form(rsform) 01.06.2012 10:32

Ok, sent an email with the details.
Thank you very much, 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
FaLang translation system by Faboba

Lo que nuestros clientes opinan de nosotros