Hi fellow developers! I'm currently refactoring the fill in the blanks question type in order to display the inputfield IN the text instead of in a table (which is extremely clumsy when you have a large text).
During this redesign I noticed a few issues on the issue tracker concerning the features of the fill in the blanks that indicated some problems with the current structure. I already implemented some minor functional problems on dev: use | to separate answers instead of , (see http://support.chamilo.org/issues/3327) and allow parsing of negative scores (see http://support.chamilo.org/issues/3326). I'm about to add the remaining missing features that change a lot of the structure and would appreciate your opinion on this refactoring. Attached to this email you find the mock-up of the fill-in-the-questions-to-be. The first issue I read about was the possibility to adjust the inputfield length (proposed by Jean-Marie in some issue I can’t seem to find anymore :-(). I took this into account when designing the new inputform. Numbers 1 and 2 offer a clean solution to this. I split the textfield into two new fields: sized textfield and uniform textfield. Sized textfields will always take the size of the individual answer much like the ____ in the edit mode (repository), while uniform fields will all have the same size. If the user chooses the uniform fields, some additional settings are shown. (S)he will be able to define a fixed size (e.g. 15), use the size of the longest answer in the text, or just use whatever size fits best (unlimited). The second issue is the hardcoded default values. If a teacher wants to avoid guessing and give a penalty, he should be able to put the default correct score to +2, and default negative score to -1. Number 3 offers the possibility to set these scores. Number 4 shows the parsing of negative scores, for example to give a penalty for the most obvious wrong answer. I hope some people concerned with the fill in the blanks take their time to review these options! Stijn Van Hoecke Intern Hogent
<<attachment: new_fill_in_the_blanks.png>>
_______________________________________________ Dev mailing list Dev@lists.chamilo.org http://lists.chamilo.org/listinfo/dev