AnsweredAssumed Answered

How to get selections from a Selection Option component in a form?

Question asked by sperna on Sep 19, 2017
Latest reply on Nov 30, 2017 by sperna

Hi! We need to get the selected options from a selection option component used in a form through the script. We tried with ca_fdGetSelectedOptionValues and ca_fdGetTextFieldValue but we got "null" and "undefined" every time we use it.


The code in the script is:

empaquetaSolicitud : function() {
var resultado = '';
resultado = 'Ubicaciones Origen: ' + ca_fdGetSelectedOptionValues(ca_fd.formId,'cmbubiorigen') + '\n\nUbicaciones Destino: ' + ca_fdGetSelectedOptionValues(ca_fd.formId,'cmbubidest');

return true;