- WM2OAsked on July 07, 2016 at 10:25 AM
We would like to make a pop-up with two images next to each other and insert a link per image to be able to help people navigate to the correct page on my website.
The question we ask is: are you a company or privat. based on their choice they should be going to a relevant page.
How can i make this happen.
- JotForm SupportMike_GAnswered on July 07, 2016 at 12:42 PM
To my understanding, you would like to use a pop-up form on your website, is that correct? On the form, you will add two images that when clicked it will redirect you to a page depending on the image that was clicked, is that correct?
I believe it is possible, however, since the images redirect you to a different page, it means that there is no submission made on the form and the data will not be saved in your Jotform account.
Here's a sample form: https://form.jotform.com/61884585195976
I have used Text that will have the images.
Here's the custom HTML code I have used to show the both images and make them links.
<p><a target="_blank" href="https://www.facebook.com" rel="nofollow noopener"><img src="//cms.jotform.com/uploads/image_upload/image_upload/Mike_G/37668_facebook.png" alt="" /></a> <a target="_blank" href="https://www.instagram.com" rel="nofollow noopener"><img src="//cms.jotform.com/uploads/image_upload/image_upload/Mike_G/37669_instagram.jpg" alt="" /></a></p>
You can just update the links to the images and the links to the web pages.
If you want to have the other page opened in a new tab, you can add "_blank" HTML <a> target attribute to the code.
Notice that I have also removed the Submit button.
After that, you can copy the pop-up embed code from Publish so you can embed your form as a pop-up to your website.
I hope this helps. If this is not what you're trying to do, please feel free to get back to us with more details. Thank you.