Matrix Preview w/CSS Not Displaying Correctly
- earthdaysfAsked on April 04, 2013 at 06:14 PM
#cid_1 .form-matrix-row-headers +.form-matrix-values +.form-matrix-values .form-textbox {
width:200px;
}
this does work. But it does not show preview correctly in the form designer.
- JotForm SupportEltonCrisAnswered on April 04, 2013 at 07:13 PM
@earthdaysf
That's because of the #cid_1, that works actually but would prefer to us #id_1 as it holds all the sub fields under it. That should be displayed on the form builder.
Try it and let us know the result. Thanks!
- earthdaysfAnswered on April 04, 2013 at 11:00 PM
ok, but why?
this screenshot shows the matrix ID is #cid_33, not #id_33.
where does #id_33 come from? why isn't it in the source?
thx!
- JotForm SupportEltonCrisAnswered on April 05, 2013 at 12:59 AM
It's there! :)
It's an li ID of the main element just above cid_33. I have highlighted it on your screen below.
- earthdaysfAnswered on April 06, 2013 at 12:31 PM
ok, i see, that's the id of the li which surrounds both the matrix and the label above the matrix. The form editor cannot preview css on the matrix itself, only on the li surrounding the matrix.
would be more accurate, i think, to be able to preview both.