Posts made by Itamar Tzadok

Here is one possible approach.

Add an auxiliary category. Add 4 manual grade items, one for each quiz item and place them in the category. For each item set the min to 0 and max to 1. Set the formula of each item to something like:

=[[respective_quiz] ]-69

Set the category aggregation method to 'Lowest grade'.

Now, the grade of this category will be 0 if at least one of the modules is below 70, and 1 if all are 70 and above. And so you have a flag which you can use either for display purposes or for further grade manipulations.

(You can hide the category and all its items or only the items, depending on how you use the flag)

hth smile

The current behavior of the template buttons is that they display the changes but do not save them yet. Saving requires clicking the save botton. So if the user has second thoughts he/she can refresh the page to return to the last saved template. When a template is saved there appears at the top the message 'Template saved'. I'm not sure that other indications are necessary.

I'm not sure what you mean by 'not a final solution'. If you want to allow the user to work WYSIWYG and yet maintain an aligned table, the current solustion is definitely not final. Allowing WYSIWYG is not impossible but may be a bit tricky and messy. The html manipulations may be editor dependent. I wouldn't go for extra interface (sort of editor-light for aligned tables) though. smile

After saving the information a HTML table is build and be edited more in detail.

If the idea is to use this form just for generating the html of the table and then work with the html then a simpler approach would be emulating the reset template function and generating a default aligned list template by a click of a button. A possible implementation is to add a virtual aligned list template to which the list template could be reset. This would first disable the editor (if enabled), set the list header to open table and a header row with the names of all the fields, the repeated entry to a row with a column for each field + a column for commands, and the list footer to close table. Users could then edit the html to remove or modify columns. See image for illustration.

If there is interest I can implement and patch it. smile

Attachment data-aligned-list-button.png