#99 ✓resolved
James

Allow members to modify choices/enumerations for extended fields

Reported by James | October 17th, 2008 @ 11:07 AM | in 1.2

  • Experiment with having a user create a new choice for the extended field via adding an additional text value

(This feature will be experimental.)

Comments and changes to this ticket

  • Walter McGinnis

    Walter McGinnis March 9th, 2009 @ 02:51 PM

    • Assigned user changed from “James” to “Kieran P”
    • State changed from “new” to “open”

    This works for autocomplete version of Choices ftype, but not dropdown.

    In a branch, have a quick go (under half day) at simply adding a text field to the right of the dropdown (at each level in the case of subsettings) that has a label "OR add your own".

  • Kieran P

    Kieran P March 10th, 2009 @ 06:51 PM

    • State changed from “open” to “to-review”

    This work has been completed. The choices now submit with :preset and :custom, and some code is added to determine which to use (based on values), and then replaces the hash with a string, before continuing (where it goes and creates the choice with the proper parent, which is reflected nicely in the forms/show pages).

    It's working nicely locally and all tests are passing.

    It's available in the branch enhancement_99_user_supplied_choice_for_dropdowns

    Changeset: http://github.com/kete/kete/comm...

    Took ~ 2 hours to find the correct location, and to complete coding.

  • Kieran P

    Kieran P March 17th, 2009 @ 03:57 PM

    • State changed from “to-review” to “resolved”

    This work has been completed and merged into master. Resolving ticket.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Kete was developed by Horowhenua Library Trust and Katipo Communications Ltd. to build a digital library of Horowhenua material.

People watching this ticket

Referenced by

Pages