-
GortonladAsked on July 26, 2017 at 6:36 AM
Hi
I want to add my form as a lightbox pop up. When I do this the link appears as text. How can I make it a button or link the lightbox to a button?
-
BJoannaReplied on July 26, 2017 at 11:26 AM
A Lightbox link is not styled as a button by default. However, you can style it as a button.
If you want to add a default HTML button element use the < button > tag.
Here is an example.
<script src="https://form.jotformpro.com/static/feedback2.js" type="text/javascript"> var JFL_72062321969963 = new JotformFeedback({ formId: '72062321969963', base: 'https://form.jotformpro.com/', windowTitle: 'test', background: '#FFA500', fontColor: '#FFFFFF', type: '0', height: 500, width: 700, openOnLoad: false }); </script>
<a class="btn lightbox-72062321969963" style="margin-top: 16px">
<button type="button">Contact Form</button>
</a>
Hope this meet what you are looking for.
-
GortonladReplied on July 26, 2017 at 12:43 PM
Yep that works, many thanks.