Gefilterde productoverzichtspagina/URL op basis van waarden uit het formulier

  • maartensnijder
    Gevraagd op 3 april 2024 om 04:40

    Via een keuzehulpformulier worden via toegewezen waarden een URL gegenereerd.

    Hoe krijg ik hier een URL die linkt naar de pagina met product op basis van de waarden?

    Of, nog beter, hoe krijg ik een redirect na een laatste optieveld in het formulier?

    Voorbeeld keuzehulp: https://www.ventilatieland.nl/nl_NL/keuzehulp-wtw-unit

  • Lorenz Jotform Support
    Geantwoord op 3 april 2024 om 04:55

    Hi Maarten,

    Thanks for reaching out to Jotform Support. Unfortunately, our Dutch 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 Dutch, 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. 

    With that said, can you explain a bit more about what exactly you're trying to accomplish? Do you want to redirect the form automatically to an external site based on the selected product in your form? If so, then that's possible using the Thank You Page condition. Let me walk you through it:

    1. In the Form Builder, click on the Settings tab.

    2. Select Conditions from the left side menu.

    3. Next, click on Add Condition and select Change Thank you page condition.

    4. Lastly, setup the condition like this:

    • IF: Field
    • STATE: Is Equal To
    • Value: Target value
    • DO: Redirect to URL
    • URL: URL to redirect to

    Gefilterde productoverzichtspagina/URL op basis van waarden uit het formulier Image 1 Screenshot 20

    If that's not exactly what you're trying to do, let us know and provide more details so we can assist you better.

  • maartensnijder
    Geantwoord op 3 april 2024 om 05:08

    Thanks for the quick reply! I will look into it.

  • maartensnijder
    Geantwoord op 3 april 2024 om 07:15

    Hello, So I managed to construct what I was aiming for. Using value calculation to convert the summed values to generate an URL.

    However, the URL generated, presents a 404. But when copying this URL and pasting the URL, it opens the corresponding page.

    https://form.jotform.com/240782858713365

    What am I missing here in the settings?

  • Lorenz Jotform Support
    Geantwoord op 3 april 2024 om 08:11

    Hi Maarten,

    Thanks for getting back to us. To clarify, are you getting the 404 error message when it redirects to the generated URL? I cloned your form and I was not able to replicate the issue. The URL doesn't return the 404 error message. Check this out:

    Gefilterde productoverzichtspagina/URL op basis van waarden uit het formulier Image 1 Screenshot 20

    Can you confirm if you're still getting the same issue? Would it be okay if we make a test submission directly to your form so we can further check what's happening?

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

  • maartensnijder
    Geantwoord op 3 april 2024 om 08:36

    Hi Lorenz,

    Appreciated.

    For me the "Something went wrong!" banner on the page is a 404. But that is exactly the page I mean.

    So the "Something went wrong!" page should present the product since the URL for this "Something went wrong!" page is valid. But only when copying the URL and pasting it in a new window, will it show the product.

    So your test does show the generated URL but the "Something went wrong!" banner shows instead of the product.

    So why is this URL not directing automaticly to the product?

  • Lorenz Jotform Support
    Geantwoord op 3 april 2024 om 09:16

    Hi Maarten,

    Thanks for the clarification. Removing the 'www.' from the Update/Calculate condition appears to resolve the issue.

    Gefilterde productoverzichtspagina/URL op basis van waarden uit het formulier Image 1 Screenshot 30

    Check this out:

    Gefilterde productoverzichtspagina/URL op basis van waarden uit het formulier Image 2 Screenshot 41

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

  • maartensnijder
    Geantwoord op 3 april 2024 om 10:44

    That did the trick! How could this effect the output product URL, since it is part of the domain URL?

  • Rene Jotform Support
    Geantwoord op 3 april 2024 om 13:04

    Hi Maarten,

    Thanks for reaching us back. It's a good thing that the steps provided to you by my colleague worked. In relation to your question, I cloned the form myself and added the "www." part of the calculation to test it, and got the error accordingly. Take a look at the screenshot below:

    Gefilterde productoverzichtspagina/URL op basis van waarden uit het formulier Image 1 Screenshot 20

    A website displays this notice when a certain page is no longer available, maybe as a result of it being moved or deleted, which typically occurs while the website is being altered. It's unavailable, even if it might be reachable. I've found this website that can provide you more details about it. As for the error, you can check with your website's developer or IT to configure its settings. However, if the fix that was previously provided to you will suit your needs already, you can leave it as is.

    Reach out again if you need any more help.

  • maartensnijder
    Geantwoord op 4 april 2024 om 04:53

    Hi Rene,

    Appreciate the fast support! Will get back when in need for help.

  • maartensnijder
    Geantwoord op 5 april 2024 om 05:53

    Hi team,

    Is it possible to have certain values hidden in a field based on a selected value in a previous field?

    When selecting value 46E3:

    Gefilterde productoverzichtspagina/URL op basis van waarden uit het formulier Image 1 Screenshot 30 Screenshot 10

    As result in next field the values marked yellow, hidden:

    Gefilterde productoverzichtspagina/URL op basis van waarden uit het formulier Image 2 Screenshot 41 Screenshot 21

  • Lorenz Jotform Support
    Geantwoord op 5 april 2024 om 06:28

    Hi Maarten,

    Thanks for getting back to us. I've moved your question to a new thread. You can check that out here.

    Let us know if you have any other questions.

  • maartensnijder
    Geantwoord op 5 april 2024 om 06:30

    Thanks!

 
Your Answer