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

Ajax calc doesn't work

Status
Not open for further replies.

louis037

Member
Hello everyone,
I tryed to make a calculation based on query in my calc element. I saw that the calculation didn't worked when I tryed to change the value of the observed field (databasejoin in dropdown).
So I just put in my calc element "return {conventions___action_title_raw};" with the option ajax in my field.
When I change the value in my observed field, it doesn't wok...

Anyone can tell me what happens?

Thanks.
 

Attachments

  • capture.png
    capture.png
    65.6 KB · Views: 75
Take the quotes off the "Ajax observe fields" and add them to the return statement "return '{conventions___action_title_raw}';"
 
Thank you for your quick response. It doesn't work, but I did all that you write to do...:mad:
 

Attachments

  • capture.png
    capture.png
    30.3 KB · Views: 22
1. When you change the dropdown are you getting a spinner gif showing whilst it does an ajax call?

2. Are you getting any errors in the javascript console of your browser?

(Although the calculation is done on the server in php, the trigger is done using JS.)

P.S. Despite what it says on my logo, I am not actually a staff member - just a senior community member.
 
Thanks Sophist for your reply.
I didn't have the spinner gif, so I looked at the mask of my field. It was the source of the problem!
All works fine now... :)
Thank you very much, Have a great day!
 
Status
Not open for further replies.
We are in need of some funding.
More details.

Thank you.
Back
Top