jmoises
Active Member
Hello, i just made a javascript function add it to the details_X.js then upload to /components/com_fabrik/js
i am using this to get the value i need:
var v =Fabrik.getBlock('details_10_1').formElements.get('sy2j8_vir_tutores___id').getValue();
i notice in the source code that details_10_1 is the main div block, i test my function and works ok! but when i try in other record my surprise was this not work becasue the _10_1 (the 1) is the record id, then my javascript dont work, i look in all the sorce code of the detail and there is no block details_10 only so what can i do?
i notice this post also but again the detail_X javascript will not work to other people using this.
http://fabrikar.com/forums/index.php?threads/get-the-form-number-and-record-id-javascript.50394/
thanks for any update
i am using this to get the value i need:
var v =Fabrik.getBlock('details_10_1').formElements.get('sy2j8_vir_tutores___id').getValue();
i notice in the source code that details_10_1 is the main div block, i test my function and works ok! but when i try in other record my surprise was this not work becasue the _10_1 (the 1) is the record id, then my javascript dont work, i look in all the sorce code of the detail and there is no block details_10 only so what can i do?
i notice this post also but again the detail_X javascript will not work to other people using this.
http://fabrikar.com/forums/index.php?threads/get-the-form-number-and-record-id-javascript.50394/
thanks for any update