Campos HTML - em branco

  • victorfpaula
    Asked on July 20, 2016 at 11:43 AM

    Tenho um problema, não consigo resolver.

     

    Tenho um campo HTML em minha tabela, com alguns campos do formulário.

    {escolhaSeu3}
    Adicionais: {adicionais}
    Retirar: {retirar}
    Pão: {escolhaSeu18}

    {escolhaSeu4}
    Adicionais: {adicionais29}
    Retirar: {retirar30}
    Pão: {escolhaSeu31}

    {escolhaSeu34}
    Adicionais: {adicionais37}
    Retirar: {retirar38}
    Pão: {escolhaSeu39}


    Gostaria que as palavras em VERMELHO, só ficassem ativas quando sua resposta for preenchida.

    Existe uma forma de fazer isso?

    Jotform Thread 886860 Screenshot
  • David JotForm Support
    Replied on July 20, 2016 at 1:00 PM

    The only way I can think of to accomplish this would be to use a hidden text box field that is conditionally filled with your labels.

    Campos HTML   em branco Image 1 Screenshot 60

    Campos HTML   em branco Image 2 Screenshot 71

    The  use that field ID for the red text:

    Campos HTML   em branco Image 3 Screenshot 82

    This way, only if the condition is met will there be something filled in that field.  Here is my example form:

    https://form.jotform.com/62014627504953

    If you select "Opcao 2" in the first page, then do not select anything from "Adicionais", nothing will show for that in the HTML field:

    Campos HTML   em branco Image 4 Screenshot 93

    If you select something from "Adicionais", it will then show in the HTML field:

    Campos HTML   em branco Image 5 Screenshot 104

    This would require setting up quite a few conditions, but is should be possible.