Hi, I need to get a value from a text field but the problem is that this field is inside a group o fields I had try with this code, but I really don’t have an idea of how to refer properly to the field text inside a group
$(‘.quform-element-39_18 .quform-field-39_27’).change(function () { $(‘.quform-field-39_28’).val(‘Omarcito’); var $telefono = $(this).val(); var $pais = $(‘.quform-field-39_7 option:selected’); var resultado = consultaTelefonos($telefono, $pais); });
I try this, where the element-39_18 is the group and the field-39_27 is the text field
Hi Ally, Thanks for your help. I found my mistake. In the second line I did not include the .quform-element reference, now it seem to work fine. $(‘.quform-element-39_18 .quform-field-39_27’).change(function () { $(‘.quform-field-39_28’).val(‘Omarcito’); Thanks a lot. Regards,