Rép. : Re: [Cartoweb-users] Using dropdown menu to fill attribute in the editmodule

Edouard Legoupil LEGOUPIL at unhcr.org
Wed Aug 9 04:15:54 EDT 2006


Dear Oliver,

Thanks for this precision. Would it be possible to give me quick example ?

Imagine i have a table called road, one colonn is typeof and i would like to restrict the choice for this specific field to "path", "road" and "main road"

Thanks and regards
Edouard

>>> "Oliver Christen" <oliver.christen at camptocamp.com> 08/08/2006 12:54 >>>
There is, but not easily

the table containing the edition form is generated in javascript by 
dhtmlEdit.js, especially look in the functions Map.prototype.editTableAddRow
( see the var input = createInput(...) on line 516-517 for en exemple of 
input generation )

Regards
Oliver

> Dear all,
>
> I am building an edtion interface to edit online various object. To 
> represent those new objects, i will use different class from the 
> attributes filled by users.
>
> Therefore i would like to restrict their choice when they will fill the 
> attributes
>
> Is there a way to implement dropdown menu on these fields ?
>
> Thanks for your support
>
> Edouard
>
>
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org 
> http://lists.maptools.org/mailman/listinfo/cartoweb-users 
> 





More information about the Cartoweb-users mailing list