I have a form with 2 values entered by the user - say field1 and field2. I want to add another field3 which is calculated as field1 minus field2. What is the best way to do this? I have tried adding Javascript code but cannot get it to work.
I have also seen something in the Help about "Create a XX.js file in components/com_fabrik/js, where XX is your numeric form ID, and put your functions in there, then just call the functions from your element JS actions." However I cannot find any component called "com_fabrik/js" - where do I find this?
Any help is much appreciated.
I have also seen something in the Help about "Create a XX.js file in components/com_fabrik/js, where XX is your numeric form ID, and put your functions in there, then just call the functions from your element JS actions." However I cannot find any component called "com_fabrik/js" - where do I find this?
Any help is much appreciated.