Embed form to website but only visible to a select few

  • ffwnfellow2015
    Asked on August 21, 2015 at 6:56 PM

    Hello, I'm inquiring about how to embed our newest form "Global FWN100 feature in 2015 FWN Mag_Time Capsule"on Jotform to our website but visible only to a select few, ie. our Awardees? 

  • Boris
    Replied on August 21, 2015 at 10:49 PM

    There are few things that I can think of.

    1. You could hide it behind a login page of your own website, and only let your users access the page with the form if they log in with your desired credentials.

    2. You could set up everything with JotForm tools. You could use Conditional Logic to hide everything on your form, unless a specific value is entered in one of your fields.

    To do this, we will first add a Form Collapse to the top of our form, to collapse the entire form. We will also set this Form Collapse Status to Open, and Visibility to Hidden.

    Embed form to website but only visible to a select few Image 1 Screenshot 40

    Second step, is to add a field that will hold your secret code that lets users see the form. We can use a regular Text Box field, and set it to be hidden by clicking on its gear-shaped icon > Hide Field.

    Embed form to website but only visible to a select few Image 2 Screenshot 51

    Finally, we set up a condition to Show that Form Collapse (named Hide All in my example) if a certain text is filled into the Secret Phrase field. I have use 1234 as the secret code.

    Embed form to website but only visible to a select few Image 3 Screenshot 62

    Here comes the fun part. Anyone accessing your form with a direct link will only see a blank page, such as in this demo:

    http://form.jotformpro.com/form/52328459494971

    However, we can use form prepopulating via URL parameters to append the secret code to our link. By adding ?secretPhrase=1234, the form is visible:

    http://form.jotformpro.com/form/52328459494971?secretPhrase=1234

    The great thing about this approach is that it will also work if you use the JavaScript embed method on your site. So you would be adding this parameter to the end of the link you will be sharing with your Awardees. I hope this helps.