Hi Mike , me and my partners have been talking about the problem of large
sets of metadata when filling forms and the solution you are proposing. We
consider it far mor usefull/simple/easy to implement than the one we
proposed at "metadata fixed values subsets to avoid long lists" e-mail.
Roberto found that past proposal was interesting, Roberto what dou you
think about this new one ?

Greetings

Lau.


On Sat, Apr 6, 2013 at 3:05 AM, Mike Hadmack <[email protected]> wrote:

> Hi Lau,
>
> I don't know that any JS would be required for this feature.  I don't
> think it would be difficult for the Mayan backend to query the database for
> a list of all metadata values and fill in a combo box.  In the case of a
> static set of metadata values this could be done by a function called from
> the "Lookup" property of the metadata type.  I think that the only
> complication is the addition of a text field beside the combo box that
> would allow for entry of new values.  This doesn't sound particularly
> complex but will require someone with much more Django knowledge than I.
>
> -Mike
>
>
> On Friday, April 5, 2013 5:21:43 AM UTC-10, Lau Llobet wrote:
>
>> Hi Mike, I find this feature usefull. Although web browsers tend to place
>> already used values to the textboxes while writing.
>>
>> This solution solves the problems derived from having large lists of
>> metadata, together with the solution proposed on the "metadata fixed values
>> subsets to avoid long lists" e-mail It would make the metadata description
>> more easy.
>>
>> Both solutions require Java Script in the same web page in order to
>> display this features. We could consider contacting a developer in order to
>> do this client side coding (JS) while Mayan developers should do the server
>> side. They also shoud check if the Puerto Rico laws about accesibility
>> allow this features for disabled people usage. Maybe there's a flag on the
>> web browser of the disabled person that can trigger the classic web view
>> that's currently implemented.
>>
>> Hope to hear from you,
>>
>> Lau
>>
>>
>> On Sun, Mar 31, 2013 at 10:15 AM, Mike Hadmack <[email protected]> wrote:
>>
>>>  Hi Everyone,
>>>
>>> Is there a way to allow a metadata field accept the entry of a new
>>> string value AND present the user with a list of existing values from the
>>> database.  Since the metadata Lookup can execute python code it should be
>>> possible to generate a list of existing values as choices, but then I need
>>> to allow the user to add new choices to the list.  I am pretty new to
>>> Django so I don't know how much work would be involved in implementing this
>>> feature.  Can this all be accomplished by modifying DocumentCreateWizard?
>>>
>>> Thanks,
>>> Mike
>>>
>>>  --
>>>
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "Mayan EDMS" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to mayan-edms+...@**googlegroups.com.
>>>
>>> For more options, visit 
>>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
>>> .
>>>
>>>
>>>
>>
>>  --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Mayan EDMS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to