JS Update Multiple Dropdown Values

OndrejH

Member
Since Fabrik 3.1 there is new syntax to work with element values.
You can easily update return values from array grasped by user_ajax. No problem with text, dropdowns, checkboxes with a syntax:

Fabrik.getBlock('form_X').elements.get('table___element_one').update(myarray['0']) ;
Fabrik.getBlock('form_X').elements.get('table___element_two').update(myarray['1']) ;

What I am not able to find out is how to pass multiselected values obtained by sql query.

Do you anyone have experience with manipulating/updating dropdown multiple selections?
Multiselected values are stored in "table_repeat_ element" tables with parent id and element name.
 
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top