Hi there is an example of how to implement drop-down list in edit there: http://www.cartoweb.org/cwiki/HowToAddDropdownInEditPlugin
but to do what you want, you will also need to extend the php part of the edit plugin regards Oliver ----- Original Message ----- From: Broun Uganda To: [email protected] Sent: Friday, June 22, 2007 7:41 PM Subject: [Cartoweb-users] edit plugin dropdown list Dear all; 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. Say db_table_1 has attribute NAME and db_table_2 has attributes FROM & TO Layer is selected which creates a list of editable features and attributes in an edit_table in the web page. 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. A selection is made of the NAME Then Validate. This is my way of joining two points with a line (lseg) in which points and lines are in different layes. Any body with an idea how i could do this? Thank you Broun ------------------------------------------------------------------------------ Live Earth is coming. Learn more about the hottest summer event - only on MSN. Check it out! ------------------------------------------------------------------------------ _______________________________________________ Cartoweb-users mailing list [email protected] http://lists.maptools.org/mailman/listinfo/cartoweb-users
_______________________________________________ Cartoweb-users mailing list [email protected] http://lists.maptools.org/mailman/listinfo/cartoweb-users
