(solved) how can i get the element value on a repeated group with Javascript

jmoises

Active Member
Hi how can i get the element value of a repeated group with Javascript?

i have look on the wiki but no luck i cant find a way to read especific value of especific row in js

i notice that the elements id has and extra number _0, _1 but how can i know, what is the row i am using, with correct fabrik javascript sintax?

thanks for any help
 
i found this way, if you guys have a better way let me know thank you..

var form = Fabrik.getBlock('form_1);
var intKey = jQuery(this).closest('tr').index();
var myvar = form.formElements.get(my_element_'+ (intKey)).getValue();
 
Last edited:
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top