Lightbox for form not working
Hi Support!
I'm trying to have a job application form I built in jotforms appear as a lightbox when a button is clicked. I've tried to put the script code in the custom CSS in the theme options but it didn't work there. If I paste it into a text box it will work but it messes with the header. Can someone assist me in where I need to paste the javascript code to get this to work? Thanks
Comments
Hi,
Can you explain in more detail what you want to achieve, please?
Please, attach a code you have, and tell (or show) how it should work, and I will try to suggest how to include it on your website.
Thanks
Here is the code:
<script src ="https://form.jotform.com/static/feedback2.js" type="text/javascript"></script><script type="text/javascript"> var JFL_220997326300151 = new JotformFeedback({ formId: '220997326300151', base: 'https://form.jotform.com/', windowTitle: 'Job Application Form', background: '#EA2629', fontColor: '#FFFFFF', type: '1', height: 500, width: 700, openOnLoad: false }); </script> <a class="btn lightbox-220997326300151" style="margin-top: 16px"> Job Application Form </a>
If I try to place the code in the CSS area in the theme options it doesn't do anything. If I place it in just a regular text box it will work but then it removes the header and there are no menu items.
We do not support custom scripts, but I can suggest you put the script in Betheme -> Theme options -> SEO, in the Google Analytics field, and the <a> tag in the Column text element in the builder.
Thanks