This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > October 2005 > populate text field from dropmenu





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author populate text field from dropmenu
jamie

2005-10-15, 6:16 pm


hello again, (i use dwmx2004,php5,apache,mysql)

i have a table named tblPersonnel with fields: Id_pers, employ_number,
initials, lastname.

on a form, i have a dynamic droplist(menu/list) with the values from
the employ_number column in the above tbl.

what i want to do is to : once i select the value(employ_number) from
the droplist, it must automatically apply the initials and lastname in
the 2 text fields next to the droplist.

for example:

| MENULIST_HERE | INITIALS-FIELD | LASTNAME_FIELD |

when i select the employee's number from the menulist, then the
initials and lastname must display in the 2 fields next to it. the 2
textfields doesn't HAVE to be textfields, it's just there for display,
not for edit.

is this possible ?

any advice, please !

thank you,

Jamie.


--
jamie
------------------------------------------------------------------------
jamie's Profile: http://www.highdots.com/forums/m984
View this thread: http://www.highdots.com/forums/t3030772

Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews