Issue Details (XML | Word | Printable)

Key: MDL-20463
Type: Sub-task Sub-task
Status: Open Open
Priority: Major Major
Assignee: moodle.com
Reporter: Oleg Sychev
Votes: 0
Watchers: 0
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle
MDL-17064

Develop a new repeat_form_elements function with better user interface

Created: 07/Oct/09 02:23 AM   Updated: 07/Oct/09 04:04 AM
Return to search
Component/s: Forms Library, Usability
Affects Version/s: 1.9.5
Fix Version/s: None

File Attachments: 1. Text File New controls to enter the number of repeated elements.bmml (0.9 kB)

Image Attachments:

1. New controls to enter the number of repeated elements.png
(4 kB)
Issue Links:
Blockers
 

Participants: moodle.com and Oleg Sychev
Security Level: None
Affected Branches: MOODLE_19_STABLE


 Description  « Hide
Develop a new repeat_form_elements function that may superseed repeat_elements in the future. New function will allow user to enter the number of repeated elements in a text box, so he can ajust the number just in one page reload like
Number of choices _____ [Apply]
instead of having to calculate and press
[ Add XXX new choices]
repeatedly.

Existing repeat_elements function may be marked as deprecated if desirable. I'll write a patch, just looking for someone to commit it.

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Oleg Sychev added a comment - 07/Oct/09 02:36 AM
This issue is key issue of the problem, blocking all other. Unfortunately it also the only issue with no assignee available. Anyone that can help me get this into Moodle core is welcome there

Oleg Sychev added a comment - 07/Oct/09 02:40 AM
Added UI Mockup: <New controls to enter the number of repeated elements>

Oleg Sychev added a comment - 07/Oct/09 04:04 AM
I was wrong trying to address MDL-17064 with a single patch that changes API of a function. We can easely add a new function and make an old version deprecated to get rid of in 2.0 or 2.1. Also, this allows for gradual conversion of the calls to old function in managable chuncks.