Hi All,
Anyone got any pointers as to why this custom javascript wont work:
Both the element in which this javascript is written and the cout_checkbox element are field elements.
In chrome, the consol says "Uncaught SyntaxError: Unexpected identifier "
Joomla 3.3
Fabrik 3.2
Php 5.5.18
http://fabrikar.com/forums/index.php?wiki/elements/#important-note-on-use-of-the-javascript-this
Thanks in advance,
Paul Hughes
P.S. I posted this in the community section too - apologies for the duplication.
Anyone got any pointers as to why this custom javascript wont work:
Code:
var adult = this.get('value');
if(adult == '1'){Fabrik.getBlock('form_1').elements.get('jos_perm___count_checkbox').update('newvalue') ;}
Both the element in which this javascript is written and the cout_checkbox element are field elements.
In chrome, the consol says "Uncaught SyntaxError: Unexpected identifier "
Joomla 3.3
Fabrik 3.2
Php 5.5.18
http://fabrikar.com/forums/index.php?wiki/elements/#important-note-on-use-of-the-javascript-this
Thanks in advance,
Paul Hughes
P.S. I posted this in the community section too - apologies for the duplication.