Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Wednesday, November 11, 2026
About Us
Magazine
Open Source
CVS
Services
Index  »  Projects  »  phpMyEdit  »  Forum  »  Autofill fields from table depending on input

phpMyEdit General     Autofill fields from table depending on input
Post new topic   Reply to topic    
 
fjbosscha     Joined: 23 Feb 2005   Posts: 4  
Post Posted: 2005-03-03 21:15
Back to top  Reply with quote     

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     Joined: 17 Jun 2003   Posts: 537   Location: Slovakia
Post Posted: 2005-03-09 21:22
Back to top  Reply with quote     

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).

 
Post new topic   Reply to topic    

Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top · Feedback form · Application form
Report bug on PLATON.SK website · Terms of use · Privacy policy