Conditions: How to copy dropdown field value to another field?

  • Ademir_Romualdo
    Perguntado em 14 de fevereiro de 2024 às 21:56

    Fiz a condição de copiar os dados de um campo para outro caso este primeiro não esteja vazio, mas a função copia apenas uma parte. exemplo:

    preencho com 1234-AL-56 e aparece apenas 1234. ou, se preencho 1234AL56 só é lançado 123456.

    No resumo, não estão sendo consideradas letras ou simbolos.

    Jotform Thread 11891271 Screenshot
  • Israel Jotform Support
    Respondido em 15 de fevereiro de 2024 às 00:24

    Hello Ademir_Romualdo,

    Thanks for reaching out to Jotform Support. Unfortunately, our Portuguese Support agents are busy helping other Jotform users at the moment. 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 Portuguese, 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.

    I checked and tested your form 233274094774059, and ran into the same issue. After investigating a bit, I found a solution for you. You'll need to modify the Update/Calculate field condition on the form. Let me show you how to do it:

    1. In Form Builder, click on the conditions icon available with the TAG para busca option.
    2. Next, click on the pencil icon with the first condition.
    3. Update the condition with Calculate Field Value and enter the string of the related option.
    4. Finally, click on Save.
    5. Repeat the above steps for Dropdown options.

    Conditions: How to copy dropdown field value to another field? Image 1 Screenshot 30

    Additionally, you could clone my test form to see the modified conditions and reflected changes. Take a look at the screencast below to see my results:

    Conditions: How to copy dropdown field value to another field? Image 2 Screenshot 41

    Let us know if you need any more help.