• 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.

Triggering actions from a custom button element

HI,
I searched through the forum and I don't think a similar requirement. Do not hesitate to point me to an existing post if I did not searched well enough ;-).

So, I need the following :

a form is displayed ( few fields , whatever they are ) .
to validate the form, I need to trigger an external "step-up" page.

From my understanding of Fabrik, I can disable all the "standard button", add a "button element" which will trigger a javascript.

Having that said, how can I have the following behavior :

1 - user fill in form
2 - user click on "submit custom button"
3 - Step up is executed. If result is ok, form data are saved. If result is NOT ok, data are of course not saved. -> IS THIS POSSIBLE ?

Other options : My step-up mechanism manage in "real time" user groups belonging. So maybe check if user belongs to a group and if he is , just save the form, if not, trigger the step up.

I'm open to any suggestion here of course ( these ones or any other )

Thanks for your insights !
 
What is the "step up" doing? Is it an other Fabrik form?

In principle you can validate a form with a php plugin (where you can also check the user group), you can redirect the form on submit to an other form, you can validate stuff with a php plugin on form load etc.
 
hi, step-up is not a Fabrik form .
it is an html/javascript page.
In short : javascript will perform an external authentication and send back a yes/no answer.
based on this, I want to submit or not the form
 
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top