What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
How can I add an “on click” image linkAsked by peeryapts on February 12, 2014 at 06:23 PM
I have an image link on my form to a help page. Rather than have it open a completely new page, I would rather call a pop-up window instead. I've been trying to add the code below into a text box by editing the html, but it removes the href link part and just leaves the image on the form with no link. Highlighting the image and adding a link to it causes a whole new page to open.
Is there any way to put an on-click pop up link on my form?
<A HREF="#" onClick="window.open('http://www.peeryapartments.com/help.html','_blank','toolbar=0, location=0, directories=0, status=0, scrollbars=1, resizable=0, copyhistory=0, menuBar=0, width=350, height=600');return(false)"><img src="https://lh5.googleusercontent.com/-A-x_RIK_Ygk/UTtgUm8v9AI/AAAAAAAAA9A/7Wu9sj9rz4o/s100/1-HELP-3.png" height=25 width=55></A>
Thank you for contacting us.
Unfortunately its not possible to add scripts on your form, this is because they pose serious security risks.
Perhaps I would suggest using our Image field.
You can add the URL link, and the behavior of the link when clicked using target attributes:
Please let us know if this helps.