<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<STYLE>P {
        PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px
}
BODY {
        FONT-SIZE: 10pt; FONT-FAMILY: Tahoma
}
</STYLE>
<META content="MSHTML 6.00.5730.11" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial>Hi</FONT></DIV>
<DIV><FONT face=Arial>there is an example of how to implement drop-down list in
edit there:</FONT></DIV>
<DIV><FONT face=Arial><A
href="http://www.cartoweb.org/cwiki/HowToAddDropdownInEditPlugin">http://www.cartoweb.org/cwiki/HowToAddDropdownInEditPlugin</A></FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>but to do what you want, you will also need to extend the
php part of the edit plugin</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>regards</FONT></DIV>
<DIV><FONT face=Arial>Oliver</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=tekuganda@hotmail.com href="mailto:tekuganda@hotmail.com">Broun
Uganda</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=cartoweb-users@lists.maptools.org
href="mailto:cartoweb-users@lists.maptools.org">cartoweb-users@lists.maptools.org</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, June 22, 2007 7:41 PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Cartoweb-users] edit plugin
dropdown list</DIV>
<DIV><BR></DIV>
<DIV style="TEXT-ALIGN: left"><BR></DIV><BR>Dear all;<BR>I want to create a
drop-down lists in edit table for some editable attributes, populated with
data from a different table in a database. when a selection is made in the
drop-down list, the value updates a table in the database. <BR>Say db_table_1
has attribute NAME and db_table_2 has attributes FROM & TO<BR>Layer is
selected which creates a list of editable features and attributes in an
edit_table in the web page.<BR>If a new feature in this layer is created, its
editable attributes, FROM & TO a populated with a dropdown list from
db_table_1.NAME.<BR>A selection is made of the NAME<BR>Then Validate.<BR>This
is my way of joining two points with a line (lseg) in which points and lines
are in different layes.<BR>Any body with an idea how i could do this?<BR>Thank
you<BR>Broun<BR><BR>
<HR>
Live Earth is coming. Learn more about the hottest summer event - only
on MSN. <A href="http://liveearth.msn.com?source=msntaglineliveearthwlm"
target=_new>Check it out!</A>
<P>
<HR>
<P></P>_______________________________________________<BR>Cartoweb-users
mailing
list<BR>Cartoweb-users@lists.maptools.org<BR>http://lists.maptools.org/mailman/listinfo/cartoweb-users<BR></BLOCKQUOTE></BODY></HTML>