Busca por informações em uma tabela

  • juliammagalhaesm
    Perguntado em 14 de maio de 2024 às 14:13

    Boa tarde, tudo bem?

    Preciso de ajuda para fazer o seguinte:

    Meus clientes possuem um código do cliente, vamos supor que seja 001.

    O primeiro campo do formulário será a solicitação desse código.

    A partir desse preenchimento, aparecerá os equipamentos cadastrados em uma planilha referentes a esse código, ex da planilha:

    ""código do cliente"" ""equipamentos""

    001 hyster

    yale

    Ou seja, ao preencher 001 no campo do formulário código do cliente, aparecerão, em outra pergunta, o seguinte campo de seleção:

    • hyster
    • yale

    Para que o usuário selecione um deles.

  • juliammagalhaesm
    Respondido em 14 de maio de 2024 às 15:37

    Quero adicionar no menu dinâmico, por exemplo, respostas de um outro formulário.

    Mas as respostas são apenas referentes ao mesmo código de cliente

  • Eliza Jotform Support
    Respondido em 14 de maio de 2024 às 17:58

    Hi Júlia,

    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.

    Now, coming back to your question, it looks like what you're looking to is achievable using the Spreadsheet to Form widget. This widget allows you to populate your form fields from an external Excel Sheet. Let me walk you through setting up the Spreadsheet for Form widget on your form:

    1. In Form Builder, click on Add Form Element in the upper-left corner of the page.
    2. Go to the Widgets tab.
    3. Search and select the Spreadsheet to Form widget. Busca por informações em uma tabela Image 1 Screenshot 40
    4. Click on the Upload File canvass in the widget’s settings panel.
    5. Upload the spreadsheet file. Busca por informações em uma tabela Image 2 Screenshot 51
    6. Select the Access Code Column from a dropdown. It will also ask you to choose the Sheet Name if you have multiple sheets in the spreadsheet file. Busca por informações em uma tabela Image 3 Screenshot 62
    7. Set up the other options, and click on the Update Widget button at the bottom once done.

    If that’s not exactly what you’re looking for, can you explain a bit more, so I can help you better?

    Once we hear back from you, we'll be able to help you with this.

  • juliammagalhaesm
    Respondido em 15 de maio de 2024 às 15:43

    Ok, obrigada!

    Tem alguma forma de aparecer um menu dinâmico das opções de uma planilha?

    Por exemplo, a pessoa digita o nome dela e aparecem todas os equipamentos que ela possui e permite que ela selecione algum deles.

  • Jovanne Jotform Support
    Respondido em 15 de maio de 2024 às 17:49

    Hi Júlia,

    Unfortunately, the Spreadsheet to Form widget has a limitation in terms of displaying the values of a specific row. It will solely rely on the access code you provided and it cannot provide multiple rows all at once. We actually have a Data Grid widget that can show a table-like structure for the values. However, these values are manually added to the table but you can search through it using the search option. See the image attached:

    Busca por informações em uma tabela Image 1 Screenshot 20

    You can check this widget if this will help achieve your requirements.

    Give it a try and let us know how it goes.