Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Streda, 25. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  Autofill fields from table depending on input

phpMyEdit General     Autofill fields from table depending on input
Odoslať novú tému   Odpovedať na tému    
 
fjbosscha     Založený: 23.02.2005   Príspevky: 4  
Príspevok Zaslal: 2005-03-03 21:15
Návrat hore  Odpovedať s citátom     

Is it possible, and if so how, to do the following:

I have a table with postalcode, street and place.
I have made a form with a table and a part of that is giving street, postalcode and place.
To make it easy for the user, they only need to select the postalcode. I know how to fill the values with postalcodes, but after a user has selected the postalcode, how can i get the values for street and place and put them in read-only field and after that in the database for this session.

Thanks for your reply,

Freerk Bosscha

 
michal     Založený: 17.06.2003   Príspevky: 537   Bydlisko: Slovakia
Príspevok Zaslal: 2005-03-09 21:22
Návrat hore  Odpovedať s citátom     

the easiest way i see is to use before trigger. you can search zip code in db and change newly created row. (if you have only one city/address per zip code).

 
Odoslať novú tému   Odpovedať na tému    

Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok · Odkazový formulár · Prihláška
Upozorniť na chybu na PLATON.SK webstránke · Podmienky použitia · Ochrana osobných údajov