Moodle

Develop a new repeat_form_elements function with better user interface

Details

  • Type: Sub-task Sub-task
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 1.9.5
  • Fix Version/s: None
  • Component/s: Forms Library, Usability
  • Labels:
    None
  • Affected Branches:
    MOODLE_19_STABLE

Description

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.

Issue Links

Activity

Hide
Oleg Sychev added a comment -

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

Show
Oleg Sychev added a comment - 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
Hide
Oleg Sychev added a comment -

Added UI Mockup: <New controls to enter the number of repeated elements>

Show
Oleg Sychev added a comment - Added UI Mockup: <New controls to enter the number of repeated elements>
Hide
Oleg Sychev added a comment -

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.

Show
Oleg Sychev added a comment - 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.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated: