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.

Members online

Back
Top