- peeryaptsAsked 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>
- JotForm SupportTitusNAnswered on February 12, 2014 at 06:44 PM
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.