What widget is used on this form to expand the conditions?

  • nomadicloom
    Asked on June 15, 2018 at 1:03 AM
    Do you know what widet is used on this form to expand the
    conditions or maybe one similar
    http://form.jotformpro.com/form/52071482370955?
  • Kiran Support Team Lead
    Replied on June 15, 2018 at 1:17 AM

    Are you referring to the field displaying 'Click to Open.....' on the form? 

    152903981615062018 1029469 Screenshot 10

    If so, it is the section collapse field that you can find from the page elements. Please refer to the guide below:

    https://www.jotform.com/help/297-Show-or-Hide-Multiple-Fields-at-Once-Using-the-Section-Collapse-Field

    Hope this information helps! 


  • nomadicloom
    Replied on June 15, 2018 at 6:43 AM
    Thank you!
    ...
  • nomadicloom
    Replied on June 15, 2018 at 8:43 AM
    Hi,
    Thank you for the collapse section field. I am not sure how to get it to
    function so that when someone clicks it opens to display text. Also can it
    be controlled with CSS to get it to look like my other buttons?
    ...
  • nomadicloom
    Replied on June 15, 2018 at 8:51 AM

    I got it to function the way I want. Can it be styled with CSS like my other buttons?

  • Kiran Support Team Lead
    Replied on June 15, 2018 at 10:03 AM

    I have checked your JotForm and see that the Section collapse field is already displaying with the button color.

    152907141015062018 19260718 Screenshot 10

    Could you let us know if you are looking for something specific so that we can assist you further?

    Thanks!

  • nomadicloom
    Replied on June 15, 2018 at 10:43 AM
    Yes I got the color the same. I am trying to match the text and the remove
    the radius and line from it so I looks like my submit and upload buttons.
    ...
  • Kiran Support Team Lead
    Replied on June 15, 2018 at 12:12 PM

    Please inject the following CSS code to the form to change the display of the section collapse field.

    #collapse_41 {

        color: #fffdfd !important;

        background: #000000;

        width: 25%;

    }

    .form-collapse-mid {

        font-family: "Lato", sans-serif;

        font-size: 12px;

        font-weight: normal;

    }

    .form-collapse-right-hide, .form-collapse-right-show  {

    display: none;

    }

    This is how the section will be displayed after injecting the CSS code.

    152907911915062018 21414526 Screenshot 10

    Thank you!

  • nomadicloom
    Replied on June 15, 2018 at 1:43 PM
    Hi,
    Thank you but I still see a borer or padding around it and I have lost the
    arrow to expand the section.
    ...
  • nomadicloom
    Replied on June 15, 2018 at 2:43 PM
    Can someone help and tell me what css I need to remove to get try to put
    the code provided again. I would also like the move the bevel button. So it
    is same as style as the upload button.
    ...
  • Richie JotForm Support
    Replied on June 15, 2018 at 2:59 PM

    Just insert the custom CSS code in your form designer>css.

    #collapse_41 {

        color: #fffdfd !important;

        background: #000000;

        width: 25%;

    }

    .form-collapse-mid {

        font-family: "Lato", sans-serif;

        font-size: 12px;

        font-weight: normal;

    }

    .form-collapse-right-hide, .form-collapse-right-show  {

    display: none;

    }

    What widget is used on this form to expand the conditions? Image 1 Screenshot 30

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

    Here is a sample screenshot after adding the custom CSS:What widget is used on this form to expand the conditions? Image 2 Screenshot 41


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

    Thank you.

  • nomadicloom
    Replied on June 15, 2018 at 3:43 PM
    Thank you that worked. I am trying to fix a few more things. I lost 'no
    file chosen as the I made the box bigger. I want to remove the radius or
    border that is on click to view terms and conditions. I want it to resemble
    the size of upload. And was wondering if it is possible to change the text
    in the two spots so they resemble the rest of the form.
    ...
  • Richie JotForm Support
    Replied on June 15, 2018 at 4:09 PM

    You can add this css code to remove the border on the view terms and condition.

    .form-collapse-table{
      border: none!important;
    }

    To clarify, you want to match the upload button with your view terms and condition button?

    What widget is used on this form to expand the conditions? Image 1 Screenshot 20

    #collapse_41 {
      
        width: 100px!important;
    }

    #collapse-text_41 {

            font-size: 10px!important;
            margin-top: -5px!important;

    }

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

    Thank you.

  • nomadicloom
    Replied on June 15, 2018 at 6:43 PM
    The opposite. I want the terms and conditions to match the upload. The look
    the size is fine. But is has issues on mobile. I have attached a screenshot
    ...
  • nomadicloom
    Replied on June 15, 2018 at 6:43 PM
    Also does anyone know when when you click the terms and conditions it jumps
    to bottom of page?

    ...
  • jonathan
    Replied on June 15, 2018 at 7:57 PM

    I checked your form and it look like this.

    1529106768zzz 2018 06 16 07 Screenshot 10


    It seems the custom CSS codes you have injected on the form have become dirty already and causes broken styles in the upload field and section collapse.

    Can you please clarify what exactly are the customization you need?

    Your previous response did not include the screenshot image you mentioned. Please upload the image again following this guide when you reply again.

    User guide: https://www.jotform.com/help/438-How-to-Post-Screenshots-to-Our-Support-Forum

    We will wait for your updated response.

    ---

    The other question was about a different issue. We will resolve it on another thread here https://www.jotform.com/answers/1501076


    Thank you.




  • nomadicloom
    Replied on June 19, 2018 at 10:43 AM
    Hi,
    I am trying to get the 'Click to view terms & conditions box to look the
    same as the upload or drag file here. I have also lost the no file selected
    ...
  • Richie JotForm Support
    Replied on June 19, 2018 at 12:09 PM

    To clarify, you want to change the size of the terms and conditions box in mobile view?

    You can add these custom CSS codes in your Form Builder>CSS

    @media only screen and (max-width:480px){
      #collapse_41 {
      
        width: 95px!important;
        height: 90px!important;
    }
    #collapse-text_41 {
        margin-top: -4px!important;
        font-size: 10px!important;
    }
     
        }

    Guide:How-to-Inject-Custom-CSS-Codes

    Sample Screenshot:

    What widget is used on this form to expand the conditions? Image 1 Screenshot 20

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

    Thank you.

  • nomadicloom
    Replied on June 19, 2018 at 12:43 PM
    I am trying to get the terms and conditions box to match the upload box.
    And also bring back the drop down around that was on the collapse section
    of the terms and conditions.
    ...
  • Kiran Support Team Lead
    Replied on June 19, 2018 at 1:02 PM

    Please remove the following CSS code from your JotForm so that the arrow shall be displayed for the section collapse field.

    .form-collapse-right-hide, .form-collapse-right-show  {

    display: none;

    }

    And add the following CSS code to the form so that the Section collapse field should be displaying as the upload button.

    .form-collapse-table {

    border: none !important;

    -webkit-box-shadow: none !important;

    box-shadow: none !important;

    border-radius: 0px !important;

    }

    152942775219062018 22321626 Screenshot 10

    Thanks!



  • nomadicloom
    Replied on June 19, 2018 at 1:24 PM

    Thank you. That worked. A couple more minor issues.

    15294290622018 06 19 1318 Screenshot 10

  • Richie JotForm Support
    Replied on June 19, 2018 at 1:58 PM

    I have checked your custom CSS and you have edited the content in your upload text that is why the no file selected cannot be viewed. You can however, view it when you hover your mouse over the button.

    What widget is used on this form to expand the conditions? Image 1 Screenshot 20

    To move the Click and view terms & conditions, you can try this code.

    #collapse_41 {
            margin-left: 30px!important;
    }


    To change the font family you can use this css code.

    ul#section_41.form-section{
      font-family : lato;
        font-weight : normal;
        font-size : 8pt;
    }

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

    Thank you.

  • nomadicloom
    Replied on June 19, 2018 at 3:36 PM

    That worked. So just be be clear the text for no file chosen can't be move to right?  Also I notice on the collapse section the arrow to expand shows but when you preview the form or use it live it is not visible. 

  • Richie JotForm Support
    Replied on June 19, 2018 at 4:21 PM

    Yes, the no file chosen text is behind your button and cannot be moved as it is overlapped by the content.

    Regarding the arrow in your collapse, it is an image and the only way we can add is to provide a new image URL.

    .form-collapse-right-hide {
        background : url(https://cms.jotform.com/uploads/image_upload/image_upload/global/60105_Arrowimage.png) no-repeat left !important;
        padding-left : 15px;
    }

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

    Thank you.

  • nomadicloom
    Replied on June 20, 2018 at 9:02 AM

    The image suggestion did not work. Also the box is not displaying correctly on mobile.

  • Kiran Support Team Lead
    Replied on June 20, 2018 at 10:28 AM

    I have fixed the issue with the arrow in the section collapse field on your form.

    Please check and let us know if you need any further assistance. We will be happy to assist. 

  • nomadicloom
    Replied on June 20, 2018 at 2:17 PM

    Thank you Kiran. For some reason the box is not resizing for mobile. Is there any code that can be injected?

  • Richie JotForm Support
    Replied on June 20, 2018 at 3:15 PM

    I'm not sure I understood your question correctly. Can you please specify what "box" is not resizing in mobile view?

    Here is the screenshot of your form:

    What widget is used on this form to expand the conditions? Image 1 Screenshot 20

    We will wait for your response.

    Thank you.

  • nomadicloom
    Replied on June 21, 2018 at 8:43 AM
    The click to view terms. It is getting distorted as seen in screen shot.
    ...
  • Kiran Support Team Lead
    Replied on June 21, 2018 at 10:25 AM

    I have added the following CSS code to your form so that the section collapse field should be displaying correctly in the mobile devices.

    @media screen and (min-width: 10px) and (max-width: 540px){

    #collapse_41 {

       width: 70% !important;

       margin-left: 0px !important;

    }

    }

    This is how it should be displaying on mobile devices.

    1529591128bs realdroid Mobile Samsung Ga Screenshot 10

    Thanks!