When displaying lists, a commonly used method for improving readability is to change the background shading between alternate elements.

This type of display often occurs in lists in many drupal themes, however never appears in a webform block of questions. The thematic representation is invoked within tables using a <tr class="dark"> or <tr class="light"> tag.

Comments

ullgren’s picture

Are we talking about the tables in the edit "screen" and the report tables or the acctual questionarie presented to the enduser when he/she viewing the webform ?

If you mean the former (tables in "admin" mode) I agree that this should be added (if it isn't allready). In this case I would even put the issue into the bug category.

If you mean the later (the endusers view of the webform) I don't think it's a good idea layoutwise. A better way to go there would be the "formgrouping" feature discussed in another issue.

jnt’s picture

Assigned: Unassigned » jnt

ok, I'm not familiar with "formgrouping" and I was referring to the end user. I am just trying it out as I write this so I will put up a patch and see what you think.

ullgren’s picture

Sorry, what I meant was fieldset as show in issue #15203 (see the mockup I made).

Please do a patch or even a mockup of the proposed layout.

jnt’s picture

Just on the experiments I have done so far I think your mockup looks a lot better.

jnt’s picture

Title: Question formatting could use staggered highlighting » Question formatting could use better highlighting

The experiments I have done have weaned me off this idea. The problem is that components are not the same size and hence the varying background schemes look dreadful, (IMHO). I therefore think ullgrens blocking solution is the way to go. I vote this thread be marked as 'duplicate' or 'closed' and the discussion continue on #15203

moshe weitzman’s picture