This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 3

Problem with Matrix Choice when using mobile forms.


  1. Steve1951
    Member

    I have file view.mobile.css unmodified with the exception of

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

    When a form containing a Matrix Choice is viewed on a Nexus 7 in landscape mode (width is greater than 800px) everything looks fine. When the same form is viewed in portrait mode (width is less than 800px) then the radio buttons in the matrix are missing so the user cannot make a selection. A sample form is listed below:

    http://www.schuckman-test.com/machform/view.php?id=3499

    Posted 11 years ago #
  2. mypaintboy
    Member

    I had the same prob Steve, for now we just deleted mobile view. It works better in my mobile apps without it.

    Posted 11 years ago #
  3. yuniar

    Try this, edit your "view.mobile.css", search around line 167 for this code:

    #main_body li.matrix input[type="radio"]{
    		-webkit-appearance: none;
    		background-color: #ccc;
    		border-color: #ccc;
    }

    change it to become:

    #main_body li.matrix input[type="radio"]{
    		background-color: #ccc;
    		border-color: #ccc;
    }

    also, search around line 176:

    #main_body li.matrix input[type="radio"]:checked{
    		-webkit-appearance: none;
    		background-color: #4596CE;
    		border-color: #4596CE;
    }

    change it to become:

    #main_body li.matrix input[type="radio"]:checked{
    		background-color: #4596CE;
    		border-color: #4596CE;
    }

    let me know how it goes please.


    MachForm Founder

    Posted 11 years ago #
  4. Steve1951
    Member

    Yuniar - Thanks for the reply. I have already done something similar to what you have suggested (as a temporary fix) on my production sites and that works fine. I am looking for a long term solution whereby the matrix radio buttons appear the same as the radio buttons when using Multiple Choice.

    Posted 11 years ago #
  5. Giorgio
    Member

    Hi

    Any news on this topic? I'm experiencing the same problem. Is the fix suggested by Yuniar the one to be used? Thanks!

    Posted 11 years ago #
  6. yuniar

    Yes, as for now you'll need to implement the above fix.


    MachForm Founder

    Posted 11 years ago #

RSS feed for this topic

Reply