Order number and access code login to lead to a specific link

  • Profile Image
    Asked on May 17, 2015 at 07:16 PM


    Is it possible to create a JotForm that would do the following:

    A customer enters their order number and access code and is then redirected to a specific link.

    Each customer has their own custom link.

    Is there a way to create a form such as this via JotForm?

    Thanks in advance

  • Profile Image
    Answered on May 17, 2015 at 07:40 PM

    Yes this is very much possible in Jotform.

    You will need to use the following

    #1 -Smart-Forms-Using-Conditional-Logic

    #2 http://www.jotform.com/help/38-Redirecting-Users-to-a-Different-Page

    Here is an example form you can test


    the test order code is '12345' or '54321'


    Hope this help. Let us know if you need further assistance.


  • Profile Image
    Answered on May 17, 2015 at 07:54 PM

    Dear Jonathan:

    Thank you so much for the quick reply.

    This sounds like it can work, but I was wondering... when there are potentially hundreds of customers, would this solution still work?

    It would mean that there would be hundreds of conditional logic fields. Would JotForm be able to handle so many different conditions seamlessly?

    Thanks in advance!

  • Profile Image
    Answered on May 17, 2015 at 08:07 PM

    You do can put hundreds of conditional statement in the form and it will still work.

    The only obvious cons that you have to put into consideration is the performance of the form. If there were will be hundreds of conditions, the online form will take performance hit (depending also on the internet speed of the end user), as it will need to read all the scripts, conditions during loading of the form.

    One way to overcome this is by embedding also the full source code of the form into your own website as oppose to using only the direct URL of the form.

    user guide: -How-to-get-the-Full-Source-Code-of-your-Form

    By using the full source code of the form, the form source will be then locally in your website - which means it is now hosted on your own server and not on the JotForm server anymore.

    Another option is, if you have a source for programming, you can also use the full source code of the form and create an external function code (i.e. using javascript) that will do the scripting for the parsing and redirection condition logic. This means that you do not need to put hundreds of conditional statement on the form anymore. The external script (javascript) should take care of that process.

    Hope this help. Let us know if there is more we can assist you with.





  • Profile Image
    Answered on May 17, 2015 at 08:23 PM

    Can a savvy website visitor copy the directly embedded code and gain access to all links via that code?

  • Profile Image
    Answered on May 18, 2015 at 03:15 AM

    If you'll be using the form's full source code, a user might inspect your website and check the conditions there. Although, values like the links setup in your conditions are still hidden. JotForm forms are not really design to hold sensitive information, that is why we don't allow users to create forms that mimics log in pages, or those that ask for passwords and other sensitive information.

    Another disadvantage of the full source code is that when you make changes in your form using the form editor, you'll need to copy the full source code again, paste it on an editor and apply all the changes you manually added, if there are any. 

    If you are still setting up multiple conditions, you can try using different embed code and inspect the back end and see if there are any information that you don't want your users to view in the source code.