using script tags/Variations

using script tags/Variations

DOuglas19
Visitor
1 0 0

Hello everyone, I have this form field, I would like it to be visible only when clicking on the ''Yes'' option

 

Meu código 

 

{% assign = product.tags %}
{% if productTags contains 'personalizar' %}

<!-- INICIO CAMPO -->
<p class="line-item-property__field">

<label for="campo-personalizacao" class="align-label-campo"><ion-icon name="person" class="icon-personalizacao"></ion-icon>Nome:</label>
<input id="campo-personalizacao" placeholder="Ex: Carlos S." type="text" name="properties[Nome]">
<label for="campo-personalizacao" class="align-label-campo" style="margin-top: 8px"><ion-icon name="football" class="icon-personalizacao" style="font-size: 20px;"></ion-icon>Número: <span class="aviso">(ATÉ 2 DÍGITOS)</span></label>
<input id="campo-personalizacao" placeholder="Ex: 10" type="text" maxlength="2" name="properties[Número]">
</p>
<!-- FIM CAMPO -->

 

Screenshot_1.png

Replies 0 (0)