How to adjust column sizes in matrix

  • ashcroft
    Asked on January 7, 2015 at 11:14 AM

    I am trying to adjust columns to suit but I 'm afraid I don't understand how to adjust the CSS code?

    I have looked at other widget solutions but i don't think they will suit my needs. But yes, no, n/a could be radio buttons as long as I could have a text input comment section also

     

    Any help or suggestions is appreciated.

  • abajan Jotform Support
    Replied on January 7, 2015 at 1:01 PM

    Thanks for asking. Unfortunately, only one field type can be used per matrix. So, although radio buttons for the first three columns would be ideal, it's not currently possible to do that in the form builder. You would have to embed the form's full source into a web page and edit the source to suit. However, if you just wish to alter the column widths, please do the following:

    1. Copy the this code to your computer clipboard

    2. Load the jotform in the form builder and click the Designer button:

    How to adjust column sizes in matrix  Image 1 Screenshot 40


    3.
    Click the CSS tab:

    How to adjust column sizes in matrix  Image 2 Screenshot 51


    4.
    Save the change

    How to adjust column sizes in matrix  Image 3 Screenshot 62


    When done the result should be like that in this clone of your jotform.

    The comment preceding each rule of the provided CSS are to let you know which column is affected. You can always add extra declarations to each rule to affect other aspects of the column's appearance.

    If you need further help with this, please let us know.


    Thanks

  • abajan Jotform Support
    Replied on January 7, 2015 at 1:05 PM

    Oops! I forgot a step:

    Between steps 3 and 4 you need to paste the CSS code!

  • ashcroft
    Replied on January 7, 2015 at 1:49 PM

    Thanks Abajan

     

    It sort of does what I want if you have time can you look at the form modified with the CSS adjusted and another possible work around. This issue as you can see is the row height for text input is not the same as the radio button configuration. Is there a way to modify the row height.

     

    I certainly appreciate your help with this.

  • abajan Jotform Support
    Replied on January 7, 2015 at 3:52 PM

    Hi again,

    Please have a look at this clone. It should be okay in Chrome but needs tweaking in Firefox and will almost certainly need adjusting in Internet Explorer. I'll see what I can do and get back to you.


    Thanks