Como limpar os campos dependendo da opção selecionada?

  • kenidydrosa
    Fecha de consulta 10 de noviembre de 2023, 12:50

    Como fazer para que quando um item for selecionado no elemento "resposta única" tudo que estiver preenchido seja apagado. Preciso dessa opção porque dependendo do que o usuário selecionar as perguntas seguirão um fluxo, porém se ele mudar a opção. Tudo que ele preencheu deve ser apagado.

  • Eiron_O Jotform Support
    Fecha de respuesta 10 de noviembre de 2023, 15:12

    Hi kenidydrosa,

    Thanks for reaching out to Jotform Support. I'll try to help you in English using Google Translate, but you can reply in whichever language you feel comfortable using. Or, if you'd rather have support in Spanish, let us know and we can have them do that. But, keep in mind that you'd have to wait until they're available again.

    Now, let me help you with your question. If you're trying to clear the hidden field values, you can change this in the form settings. Let me show you how:

    • In Form Builder, click on Settings at the top.
    • Click on Show More, then scroll down to see the Clear Hidden Field Values setting.
    • You can then change it to Clear when Hidden,

    Como limpar os campos dependendo da opção selecionada? Image 1 Screenshot 20

    That's it. Give it a try and let us know how it goes.

  • kenidydrosa
    Fecha de respuesta 13 de noviembre de 2023, 8:04

    Thank you very much, you've solved my problem.

    Another question: whenever I try to create a report from my form, an "unexpected error" occurs. Can you solve this problem?

    Como limpar os campos dependendo da opção selecionada? Image 1 Screenshot 20 Screenshot 10

  • Alejandro Jotform Support
    Fecha de respuesta 13 de noviembre de 2023, 9:50

    Hi kenidydrosa,

    Thanks for using Jotform. I'm sorry you are having trouble with this. I have moved your new question to a different thread so we can treat the subjects separately. You can check out my reply by clicking on this link.

    Let us know if you need any more help.