Moonsoft Software Solutions

Passing values to/from RSForms

Started 18 Oct 2011 · 1 reply

  1. anonymous
    Works brilliant, thanks alot, but I do have some questions:

    I need to have one initial form. I am using RSForms to process that. Is there any way I can pass those variables to the calcbuilder form, or perhaps the calc form variables to RSForms?

    Thanks for your help!
  2. Moonsoft support
    Hello,
    we are not sure about how RSForms stores it's output. If it's saved at database, the variables could be read from the rsforms table. Other way to share variables between the extensions, is to add session variables, maybe at the time the form is submitted. If you place this code

    session_start();
    $_SESSION=$result;

    or, using joomla standards:

    $session=JFactory::getSession();
    $session->set('result',$result);



    at RSForms or calcbuilder code, you'd be able to recover the variable 'result' at any other extension afterwards.

    $result=$session->get('result');

    Hope this helps, best regards

Still stuck?

Customers with an active license can open a support ticket.

Log in to open a ticket