Mateobus Posted April 23, 2006 Share Posted April 23, 2006 Ok, here is the issue, and it might require javascript which i am not very familiar with. I have a form and one of the input boxes is for a school code based on a list of schools. Since there is no way of knowing the school code, they have to click on the lookup code which opens a pop-up window. I want to make this page work so that when they click on the school code, it automatically fills in the school code box with the one that they clicked on. First of all I was wondering if this is the best way to do this sort of task. Secondly, I was wondering if this is possible with just php. Thirdly, I was wondering if there is a good tutorial out there for this type of task. Anyways here is a link to a page that I made that demonstrate smy problem if you don't understand. [a href=\"http://www.d3kicks.com/php_help/\" target=\"_blank\"]Here is the example[/a]Thanks for all the help. Quote Link to comment https://forums.phpfreaks.com/topic/8197-form-issue/ Share on other sites More sharing options...
litebearer Posted April 23, 2006 Share Posted April 23, 2006 Do it the simple way. Just create a 'select' in your form. Quote Link to comment https://forums.phpfreaks.com/topic/8197-form-issue/#findComment-29896 Share on other sites More sharing options...
Mateobus Posted April 23, 2006 Author Share Posted April 23, 2006 A select box with 300 options seems like too many. Quote Link to comment https://forums.phpfreaks.com/topic/8197-form-issue/#findComment-29899 Share on other sites More sharing options...
litebearer Posted April 23, 2006 Share Posted April 23, 2006 6 of one, 1/2 dozen of the other. In your popup window you have 300 to scroll thru; why not the same in the select? They are basically tthe same BUT the select offers: easier, quicker and less prone to human error.just my opinion though.Lite... Quote Link to comment https://forums.phpfreaks.com/topic/8197-form-issue/#findComment-29903 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.