How to show form in popup in website?

  • lrogers_ariaconsulting
    Asked on January 20, 2020 at 7:04 PM

    Hi all,


    Hoping someone can help me.  My website is in SQS (SquareSpace) and I want to have a popup to suggest signing up to my new company newsletter.  And I don't like the choices offered by SQS.  So, I wanted to use JF.  However, I'm having trouble finding a form that would be just a popup, with no background image at all, ideally going wide across the bottom of the pages in my site and just capturing Fname, Lname, company and email address in a single "page" and being fully formatable.  Can someone point me to where I might find such a creature in and amongst the 10,000+ choices?


    Thanks VERY much!

  • Ashwin JotForm Support
    Replied on January 21, 2020 at 3:23 AM

    Yes it is possible to build form to achieve your requirement. You can build form without any image background and display all the questions in one single line by taking advantage of our shrink feature.

    Please take a look at the following demo form I created for you and see if it works as expected: https://form.jotform.com/200202095656044

    Feel free to clone this form for a closer look. The following guide should help you in form cloning: https://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL

    If you want to display the form in popup, you can embed your form using lightbox embed code. The following guide should help you: https://www.jotform.com/help/220-How-to-Create-a-Lightbox-Form

    Please note that you can auto-popup lightbox form as well. The following guide should help you: https://www.jotform.com/help/203-How-to-Auto-popup-a-Lightbox-Form

    Hope this helps.

    Do get back to us if you have any questions.

  • lrogers_ariaconsulting
    Replied on January 21, 2020 at 9:32 AM

    Thanks Ashwin.  How do I get it to display across the bottom of the page (so landscape instead of portrait and docked at the bottom)?

  • Kevin Support Team Lead
    Replied on January 21, 2020 at 10:56 AM

    I'm afraid that this customization needs to be done with some CSS code, in order to test, we will need to get the link to your page, please kindly provide us with that, we will be happy to help. 

  • lrogers_ariaconsulting
    Replied on January 21, 2020 at 11:01 AM

    Hi Kevin,

    The home page is https://ariaconsulting.net

  • VincentJay
    Replied on January 21, 2020 at 11:44 AM

    I checked the website link and I was not able to see LightBox form. Could you please share a screenshot of the link on your website where you added Lightbox so we can assist you properly?

    Related guide: https://www.jotform.com/help/203-How-to-Auto-popup-a-Lightbox-Form

    We'll wait for your response.

  • lrogers_ariaconsulting
    Replied on January 21, 2020 at 12:29 PM

    That would be because I'm attempting to find where you guys have moved the formatting control for the placeholder text.  You've changed the formatting quite a bit since the last form I designed and the intuitiveness is much lower.

  • Ashwin JotForm Support
    Replied on January 21, 2020 at 1:36 PM

    Please note that placeholder option is available under advanced tab of the fields property. Please check the screenshot below:

    1579631667placeholder Screenshot 10

    You seems to be using cards form layout. If you want, you can switch to classic layout. You may like to take a look at the following guide which should help you: https://www.jotform.com/help/493-How-to-Change-the-Form-Layout


  • lrogers_ariaconsulting
    Replied on January 21, 2020 at 1:48 PM

    There is nothing under advanced that allows me to change the font color so the placeholder text can actually be SEEN.  Right now it's white text in a white box.  That equals invisible.

  • VincentJay
    Replied on January 21, 2020 at 2:34 PM

    Unfortunately, there's no option to change the color text of the Placeholder. 

    1579635223vxcb4 Screenshot 10

    If you want, you can switch back to the Classic Form Layout so we can inject custom CSS code and change the color font of the Placeholder.

    Related guide: How-to-Change-the-Form-Layout


  • lrogers_ariaconsulting
    Replied on January 21, 2020 at 3:48 PM

    OK, I think I've got the form setup about as well as I can.  So, how do I make it go to landscape at the bottom of the page?

  • Kevin Support Team Lead
    Replied on January 21, 2020 at 5:15 PM

    I would recommend you to kindly clone my colleague's form https://form.jotform.com/200202095656044 and embed it to your web page using the desired method, let us know once it's done so we can assist you with the needed code to display the form as you want (it should be already landscape so we can see how to set it to the bottom). 


  • lrogers_ariaconsulting
    Replied on January 21, 2020 at 5:18 PM

    You want me to REDO all the work I did already?!@?!?

  • VincentJay
    Replied on January 21, 2020 at 6:38 PM

    Please share a screenshot where you want to place the Lightbox form. I checked your form and there's still no embedded form. To post a screenshot here in the Support Forum, please follow this guide: https://www.jotform.com/help/438-How-to-Post-Screenshots-to-Our-Support-Forum

    1579649733vbbc4 Screenshot 10

    Also, I think the form my colleague's suggestion is for testing purposes only while waiting for your working/main form. 

  • lrogers_ariaconsulting
    Replied on January 21, 2020 at 6:59 PM

    Well, I will be wanting to have it on all the pages in my site, but for the home page specifically, I would want it to pop up in the area in this shot.1579651141Annotation 2020 01 21 165740 Screenshot 10

  • roneet
    Replied on January 21, 2020 at 10:35 PM

    Please be noted that you cannot customize the Cards layout form to extend it across the entire page neither you can change the background and make it transparent. We cannot inject any custom CSS to the Cards layout. It has certain limitations.

    That is the reason my colleague suggested to use the demo form suggested by him. We can customize it further by injecting CSS and increasing its width to match the website's width and design.

    Thanks.

  • lrogers_ariaconsulting
    Replied on January 21, 2020 at 10:46 PM

    I cloned that form.  However, as soon as I made any change the platform decided to make it a card layout.

  • Ashwin JotForm Support
    Replied on January 22, 2020 at 12:42 AM

    You must be cloning it with card form layout. Please note that you can change the form layout from your form setting. You may like to take a look at the following guide which should help you: https://www.jotform.com/help/493-How-to-Change-the-Form-Layout

    Hope this helps.

    Do get back to us if you have any questions.

  • lrogers_ariaconsulting
    Replied on January 22, 2020 at 11:26 PM

    OK, it's changed and I've applied the styling I want.  Now what?

  • jherwin
    Replied on January 23, 2020 at 1:01 AM

    You can now embed your form in your webpage, the following guide should help you: How-to-Create-a-Lightbox-Form

    Please note that you can auto-popup the lightbox, please refer to this guide as a reference: How-to-Auto-popup-a-Lightbox-Form

    Please give that a try and let us know how it goes.

  • lrogers_ariaconsulting
    Replied on January 24, 2020 at 9:46 PM

    My question is how get it to be "landscape" oriented across the bottom of the pages?  The lightbox aspect is the easy part ;).  I need help with the hard part.

  • roneet
    Replied on January 24, 2020 at 11:47 PM

    I have injected CSS to make the form appear in the landscape mode. You can clone this form and then embed it as a lightbox in your website:

    How to show form in popup in website? Image 10

    Here is the Form URL:

    https://form.jotform.com/200239227004947

    Thanks.

  • lrogers_ariaconsulting
    Replied on January 29, 2020 at 10:39 PM

    How do I fix the image so it isn't looking ridiculous?

  • jherwin
    Replied on January 30, 2020 at 12:01 AM

    Please replace all the CSS Code in your form with this: https://pastebin.com/raw/sCaEeh6r

    Demo Form: https://form.jotform.com/200289031193954

    Please give it a try and let us know how it goes.

  • lrogers_ariaconsulting
    Replied on February 1, 2020 at 6:25 PM

    Unfortunately, this is what I got when I put the lightbox code on a test page in my site after applying the CSS.1580599504Form issue Screenshot 10

  • VincentJay
    Replied on February 1, 2020 at 8:21 PM

    I cloned the form of my colleague and I was not able to replicate the issue.

    I checked the page or website you shared and I was not able to find the Lightbox link. Could you please guide us on what to click to open the form?

    We'll wait for your response. 

     

  • lrogers_ariaconsulting
    Replied on February 1, 2020 at 8:52 PM

    As I mentioned, I deployed it to a test page.  Which is very creatively named (https://ariaconsulting.net/new-page-1).

     

    You will note that the lightbox is not coming across the bottom of the page.  Rather, it's popping in the middle.  Plus the display issue with the form itself.

  • roneet
    Replied on February 1, 2020 at 10:49 PM

    I have injected responsive CSS in your Form which has fixed the alignment of the form.

    How to show form in popup in website? Image 10

    Hope this helps!

    Thanks.

  • lrogers_ariaconsulting
    Replied on February 1, 2020 at 11:00 PM

    Well, it's improved, thank you. But, it still isn't appearing at the bottom of the web page in a landscape type presentation (which was part of my goal), and the company logo is chopped off and off-center.

  • jherwin
    Replied on February 2, 2020 at 12:08 AM

    It still isn't appearing at the bottom of the web page in a landscape type presentation (which was part of my goal).

    What do you mean? Do you want to place the lightbox at the bottom of your form? Please note that the lightbox only appears in the middle of the webpage as it is a pop-up form.

    And the company logo is chopped off and off-center.

    Can you please show us a screenshot of what the form looks like on your end?

    We would appreciate it if you could mark the issue you are referring to so that we can better understand the issue you are reporting and provide you with a fix in a timely manner.

    Guide: How-to-Post-Screenshots-to-Our-Support-Forum

    Looking forward to your response.

  • lrogers_ariaconsulting
    Replied on February 2, 2020 at 12:15 AM

    OK, somebody fixed the logo portion so it isn't being pushed to the left and chopped off.  However, at the very beginning of this thread I had said:

    "ideally going wide across the bottom of the pages in my site and just capturing Fname, Lname, company and email address in a single "page" and being fully formatable"

  • roneet
    Replied on February 2, 2020 at 1:37 AM

    To display the lightbox in the landscape mode, you would have to increase the width of the Lightbox window. I have increased it for you. Please re-embed the code into your website. We will fix the form's CSS code for you.

    The Lightbox code will be viewed in this way:

    How to show form in popup in website? Image 10

    Let us know once you have re-embedded the form on your website.

    Thanks.

  • lrogers_ariaconsulting
    Replied on February 2, 2020 at 9:37 AM

    OK, I removed the old code and re-embedded the lightbox code on the test page.  At the moment it looks like this.1580654262Form issue Screenshot 10

  • roneet
    Replied on February 2, 2020 at 9:43 AM

    Let me check this now and inject responsive CSS now.

    Thanks.

  • roneet
    Replied on February 2, 2020 at 12:29 PM

    I have injected the following CSS in your form:

    .form-all {
        width : 100%;
    }

    .form-textbox, .form-textarea {
        width : 410%;
        max-width : 800%;
    }

    span.form-sub-label-container:nth-child(2) {
        position : relative;
        left : 570px;
    }

    .form-all::before {
        background-size : 1060px 157px;
        top : -200px;
        position : relative;
        left : 1%;
    }

    #\32 00205307861243 {
        height : 650.8px;
    }

    Could you please review your website now. Please feel free to let us know if you want any further changes.

    Result:

    How to show form in popup in website? Image 10

    Thanks.

  • lrogers_ariaconsulting
    Replied on February 2, 2020 at 12:44 PM

    Thanks Roneet.  Only one remaining question:  Because the form requires just a bit of scrolling to realize it's a form and to fill it out, how can I add text that would appear right below the company logo to indicate that the popup is for a newsletter sign up?  It would need to be right at the very top of the form 'body' below the logo.

  • lrogers_ariaconsulting
    Replied on February 2, 2020 at 12:50 PM

    Might be easier to understand with this mock up.1580665802Form Screenshot 10

  • jherwin
    Replied on February 2, 2020 at 1:01 PM

    I added the "Welcome! Let's Stay Connected. Sign Up for Our Newsletter!" message to your form. Kindly check your webpage: https://ariaconsulting.net/new-page-1 and see if that meets your needs.

  • lrogers_ariaconsulting
    Replied on February 2, 2020 at 1:10 PM

    That works.  But an issue I just noticed.  In the 'build view' the fields have labels.  In the 'actual view' there are no labels.  Did I accidentally turn something off that should be on??

    1580667001Build view Screenshot 101580667013Actual view Screenshot 21

  • Mike_G JotForm Support
    Replied on February 2, 2020 at 2:27 PM

    The hidden field label of your form is due to the theme you are using.

    To resolve the issue, please inject the custom CSS codes below to your form.

    .jotform-form .form-line[data-type="control_textbox"] .form-label, .jotform-form .form-line[data-type="control_textarea"] .form-label, .jotform-form .form-line[data-type="control_fullname"] .form-label, .jotform-form .form-line[data-type="control_email"] .form-label, .jotform-form .form-line[data-type="control_address"] .form-label, .jotform-form .form-line[data-type="control_phone"] .form-label {

        display: block !important;

    }

    Feel free to let us know if you need any further assistance.

  • lrogers_ariaconsulting
    Replied on February 2, 2020 at 2:59 PM

    Well, 2 of 3 are there now ;))

    1580673572Form Screenshot 10

  • Mike_G JotForm Support
    Replied on February 2, 2020 at 4:30 PM

    Please inject this CSS code to rectify the issue.

    .jotform-form .form-line[data-type="control_textbox"] .form-label.form-label-top {

        display: block !important;

    }

    Let us know if you need any further assitance.

     
  • lrogers_ariaconsulting
    Replied on February 2, 2020 at 4:54 PM

    Golden!  Thanks guys!