Personalized checkout and custom promotions with Shopify Scripts
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
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 -->