Reference Search

  • ronildosousa
    Asked on June 19, 2017 at 2:57 PM

    boa tarde!

    como faço para criar um campo para pesquisa por uma referencia.

    exemplo: digitar um codigo ou referencia e mostrao codigo ou referencia pesquisado?

     

    https://www.jotform.com/71515932379665 

  • Jan
    Replied on June 19, 2017 at 5:31 PM

    You can use the Show/Hide Field condition and the "Contains" statement. Please check this demo form: https://form.jotformpro.com/71697062977977. You can clone it if you like to.

    On this demo form, I created 1 Short Text Entry field and 3 Text fields.

    Reference Search Image 1 Screenshot 40

    After that, I created 3 Show/Hide Field conditions. The condition states that if the "Search" field "Contains" a value of "test a", then the "Test A" text field will appear.

    Reference Search Image 2 Screenshot 51

    Here's the result:

    Reference Search Image 3 Screenshot 62

    Related guides: 
    How-to-Show-or-Hide-Fields-Base-on-User-s-Answer
    Hide-or-Show-Multiple-Fields-at-Once

    Hope that helps. Let us know if you have any questions. Thank you.

  • ronildosousa
    Replied on June 20, 2017 at 7:27 AM

    ainda não é isso.

  • Sven
    Replied on June 20, 2017 at 9:05 AM

    I'm not sure if I understand your requirement fully. But you can use our AutoComplete widget, it will autocomplete the text as you enter it. Is this what you're looking for?

    If no, please elaborate more so we can assist you further.

  • ronildosousa
    Replied on June 20, 2017 at 9:09 AM

    quase isso quero que por exemplo ao digitar 102-suporte ele me levar ao 102-suporte.

    um tipo de busca ao produto para não ter que ficar rolando a pagina até chegar ao produto.

    https://www.jotform.com/71515932379665 

  • Sven
    Replied on June 20, 2017 at 10:20 AM

    Unfortunately that's not possible. A workaround would be to use page breaks and conditional logic to do it, but that will be quite lengthy as you will have to add a page break before each product. But it will achieve the desired result.