diff --git a/form_cliente.php b/form_cliente.php index 4ce1194..15cd521 100644 --- a/form_cliente.php +++ b/form_cliente.php @@ -1234,7 +1234,8 @@ function iniciarCondiciones(esquema) { } else { const radio = ctrl.querySelector(`input[type="radio"]:checked`); const sel = ctrl.querySelector('select'); - const v = radio ? radio.value : (sel ? sel.value : ''); + const inp = ctrl.querySelector('input[type="text"],input[type="hidden"]'); + const v = radio ? radio.value : (sel ? sel.value : (inp ? inp.value : '')); activo = valoresCond.includes(v); }