• Hello Fabrik Community

    Fabrik is now in the hands of the development team that brought you Fabrik for Joomla 4. We have recently transitioned the Fabrik site over to a new server and are busy trying to clean it up. We have upgraded the site to Joomla 4 and are running the latest version of Fabrik 4. We have also upgraded the Xenforo forum software to the latest version. Many of the widgets you might have been used to on the forum are no longer operational, many abandoned by the developers. We hope to bring back some of the important ones as we have time.

    Exciting times to be sure.

    The Fabrik 4.0 Official release is now available. In addition, the Fabrik codebase is now available in a public repository. See the notices about these in the announcements section

    We wish to shout out a very big Thank You to all of you who have made donations. They have really helped. But we can always use more...wink..wink..

    Also a big Thank You to those of you who have been assisting others in the forum. This takes a very big burden off of us as we work on bugs, the website and the future of Fabrik.

Way to use variable from form published in article?

Status
Not open for further replies.

redant

Member
Hi

I have published a form in an article. I need to use the input from 2 dropdown fields in that form to populate 2 variables in a plugin short code on the same form, prfereably using ajax so that the plugin is updated as the user makes a selection from the dropdowns.

Can this be done?

Thanks
 
Probably.

Here's an example where someone else on the forums is using a 'calc' element to generate a plotalot graph using element data.

Code:
$year ='{mac9k_filters___school_year}';
$myString = '{plotalot id="21" P1="' . $year . '"}';
FabrikHelperHTML::runContentPlugins($myString);
return $myString;

If you enable "AJAX calc", the calc element should automatically re-calculate when you change any element on the form which are used as {table___element} placeholders in your calc code.

-- hugh
 
Thanks, Hugh

Exactly what I required. Each new challenge I encounter in building this site has so far been addressed by a plugin. The bigger challenge it seems is knowing what plugins are available!

For others looking for similar functionality - check out these two helpful youtube video tuts I found in which Pawe? Wo?ny explains the basics:
 
Status
Not open for further replies.
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top