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

java script it has stopped working

mvilela

Member
joomla 3.82 fabrik 3.8 from ghitub 01-12-2017 templates Hydrogen - Home Gantry 5 and JSN Boot PRO I use java script on some forms. Now when I reactivate a form already used previously I confirm that it has stopped working.
 

Attachments

  • screenshot-www.asespedal.net-2017-12-02-21-11-58.jpg
    screenshot-www.asespedal.net-2017-12-02-21-11-58.jpg
    54.9 KB · Views: 42
  • screenshot-www.asespedal.net-2017-12-02-21-13-57.jpg
    screenshot-www.asespedal.net-2017-12-02-21-13-57.jpg
    53 KB · Views: 41
Don't use $() in your scripts. If you want to use jQuery, specify jQuery().

To get values of Fabrik elements, always use ...

Code:
this.form.formElements.get('yourtable___yourelement').getValue();

Sometimes $('yourtable___yourelement').value or .getValue() will work, if it's a simple element type where the form input has the element id. But in many case (like date elements) that's not the case. By using the Fabrik element object's getValue(), you always get the correct value.

To set values, don't use jQuery().value, use ...

Code:
this.form.formElements.get('yourtable___yourelement').update(whatever);

That may not be the issue you are having, but it's how you should write that code anyway.

Are you seeing any JS errors in the dev tools console?

-- hugh
 
I could not get over the situation because I must have some conflict on my page that does not allow javascript. To test I made another installation of Joomla and Fabrik on the server and javascript works.
Thanks.
 
I could not get over the situation because I must have some conflict on my page that does not allow javascript. To test I made another installation of Joomla and Fabrik on the server and javascript works.
Thanks.
Do you see any errors in the dev tools console when you load the broken site?

Sent from my HTC6545LVW using Tapatalk
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top