manuchao75
Member
Hi!
I've got a 7.js (7 is number of form) script where I want to add
a value/some values to a dropdown.
I've tried with this 3 solution but it doesn't work:
1.
form_7.formElements.get('me_save_0001_prog_educ___me_save_0001_tipo_pagamento').update('newvalue');
2. $('me_save_0001_prog_educ___me_save_0001_tipo_pagamento').update('newvalue');
3.
Fabrik.blocks['form_7'].formElements.me_save_0001_prog_educ___me_save_0001_tipo_pagamento.setValue('newvalue');
Where's the error?
Thank You.
Manuela
I've got a 7.js (7 is number of form) script where I want to add
a value/some values to a dropdown.
I've tried with this 3 solution but it doesn't work:
1.
form_7.formElements.get('me_save_0001_prog_educ___me_save_0001_tipo_pagamento').update('newvalue');
2. $('me_save_0001_prog_educ___me_save_0001_tipo_pagamento').update('newvalue');
3.
Fabrik.blocks['form_7'].formElements.me_save_0001_prog_educ___me_save_0001_tipo_pagamento.setValue('newvalue');
Where's the error?
Thank You.
Manuela