Form displays differently in Form Builder than on my website

  • pawnshopskate
    Asked on July 3, 2020 at 11:58 AM

    I copied and pasted the code and the form appears very differently in the form builder vs. on my website.  It looks bad on my website.  I want it to appear like it I created it in JotForm

    thanks, Jeff

    Jotform Thread 2428734 Screenshot
  • Carlos_C
    Replied on July 3, 2020 at 1:20 PM

    Hello Jeff,

    Thank you for your message.

    I understand that you are having issues with this form https://www.jotform.com/201811829393054.

    Could you please provide us your website URL and what type of integration are you using? for example the source code or iframe?

    If you need any further assistance, please let us know. We will be happy to help.

  • pawnshopskate
    Replied on July 3, 2020 at 1:41 PM

    Having the issue with https://www.jotform.com/build/201840904513044

    The way it's displayed in the Form Builder vs on my website is very different.  Here is my website link: https://www.pawnshopskate.com/service/testform

    I cut and pasted the source code.

  • David JotForm Support Manager
    Replied on July 3, 2020 at 2:55 PM

    Hi, please remove the form from your site. Then embed it again using the Iframe code: https://www.jotform.com/help/148-Getting-the-Form-iFrame-Code

    Let us know if you need more help.

  • pawnshopskate
    Replied on July 3, 2020 at 3:08 PM

    that's a little better but only part of the form shows up on our website:

     https://www.pawnshopskate.com/service/testform


  • pawnshopskate
    Replied on July 3, 2020 at 3:09 PM

    and also, can I make the form transparent so you can see the page background in the form?

  • Carlos_C
    Replied on July 3, 2020 at 4:42 PM

    Hi,

    In order to see the entire form please replace the actual iframe code with the following:

    <iframe id="JotFormIFrame-201840904513044" style="min-width: 100%; height: 953px; border: none;" title="Weekly Giveaway 2" src="https://form.jotform.com/201840904513044" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen"></iframe>

    If you are having issues with the form you can play with the following property: height: 953px

    In order to make the background transparent, please to Style and click on Page Color > select the box with the X:

    Form displays differently in Form Builder than on my website Image 1 Screenshot 20

    If you need any further assistance, please let us know. We will be happy to help.


  • pawnshopskate
    Replied on July 3, 2020 at 9:56 PM

    Is there a way to reduce the space separating the different sections of the form?  Especially, if I look at the form on my phone, there are large spaces between the header and the name and then between each section.

    Form:  https://www.jotform.com/build/201840904513044

    Website:  https://www.pawnshopskate.com/service/testform

  • Mike_G JotForm Support
    Replied on July 3, 2020 at 10:15 PM

    There is an option on the Advanced Designer page to reduce Line Spacing between fields.

    1593828717zt200703 221122 Screenshot 10

    You can access the Advanced Designer page through the Form Designer.

    1593828824zt200703 221241 Screenshot 21

    Or, another solution would be is to inject custom CSS codes.

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

  • pawnshopskate
    Replied on July 4, 2020 at 12:42 AM

    https://www.pawnshopskate.com/service/testform

    why is it that our form displays perfectly on my desktop computer, see above link, but displays improperly on my phone. 
    The name and email fields don't display properly, after that, the displayed fields are correct.
    Most of our entries will come via phone.

    Here is phone display:     thanks, Jeff

    1593837597jot3 Screenshot 10

  • Vick_W Jotform Support
    Replied on July 4, 2020 at 1:06 AM

    Hey there,

    I'm looking into this for you and will get back to you shortly.

    Thanks.

  • Vick_W Jotform Support
    Replied on July 4, 2020 at 2:34 AM

    Hey there,

    Thanks for the wait.

    Please inject the following CSS code in your form to fix this.

    @media screen and (max-width:480px){

    div#cid_3 {

        height: 140px;

    }

    div#cid_4 {

        height: 90px;

    }}

    You can follow the steps in the guide below to inject CSS into your form.

    https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes

    Let us know if you need further assistance.

    Thanks.

  • pawnshopskate
    Replied on July 4, 2020 at 10:56 AM

    thanks, that helped with the name & email on my phone  The only thing wrong now is that the SUBMIT button does not show up on my phone.  How do I get the SUBMIT button to show on my phone.

    thanks for all your help, I appreciate it.



  • Ashwin JotForm Support
    Replied on July 4, 2020 at 11:49 AM

    Please inject the following custom CSS code in your form and see if that solves your problem:

    @media screen and (max-width:480px){

    li#id_2 {

        margin-top: -33px !important;

    }

    }

    The following guide should help you how to inject custom CSS code in form: https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes 

    Do get back to us if you need any other changes. 

  • pawnshopskate
    Replied on July 4, 2020 at 11:52 AM

    should I replace the first CSS injection with this one, or add this one to the first one?

    thanks

  • Eduardo_H
    Replied on July 4, 2020 at 12:58 PM

    Hello @pawnshopskate

    You should include both CSS injection codes.

    Also, if you'd like to add some transparency to your form to see the page background, you can add the following code:

    .jotform-form {
        opacity: 0.8 !important;
    }

    Let us know if you need any further assistance.



  • pawnshopskate
    Replied on July 4, 2020 at 1:15 PM

    still no submit button on my phone.  Also, no transparency in form background

    https://www.pawnshopskate.com/service/testform

  • Welvin Support Team Lead
    Replied on July 4, 2020 at 2:41 PM

    From its current height value of 1080px, change it to 1170px.

    As for the transparency, I would like to clarify if it's the Page Background or the Form Background?

    You currently have the Image as the page background, see below:

    Form displays differently in Form Builder than on my website Image 1 Screenshot 30

    And you have the Yellow color as the Form Background:

    Form displays differently in Form Builder than on my website Image 2 Screenshot 41

    If you want to remove the Page Background, inject the following custom CSS codes in the form:

    .supernova {

        background-image: none !important;

        background: transparent;

    }

    If you want to remove the Form background, inject the following custom CSS codes in the form:

    .supernova .form-all, .form-all {

        background-color: transparent !important;

        border: none !important;

        box-shadow: none !important;

    }