Jump to content


Photo

Form Issue


  • Please log in to reply
3 replies to this topic

#1 Mateobus

Mateobus
  • Members
  • PipPipPip
  • Advanced Member
  • 95 posts

Posted 23 April 2006 - 08:00 PM

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.

#2 litebearer

litebearer
  • Members
  • PipPipPip
  • Advanced Member
  • 2,357 posts
  • Locationwhite lake michigan

Posted 23 April 2006 - 08:11 PM

Do it the simple way. Just create a 'select' in your form.

all the brothers were valiant!

[br][br]The truely intelligent people are not those who create the dots; rather they are they ones with the ability to connect the dots into a coherent picture

#3 Mateobus

Mateobus
  • Members
  • PipPipPip
  • Advanced Member
  • 95 posts

Posted 23 April 2006 - 08:17 PM

A select box with 300 options seems like too many.

#4 litebearer

litebearer
  • Members
  • PipPipPip
  • Advanced Member
  • 2,357 posts
  • Locationwhite lake michigan

Posted 23 April 2006 - 08:31 PM

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

all the brothers were valiant!

[br][br]The truely intelligent people are not those who create the dots; rather they are they ones with the ability to connect the dots into a coherent picture




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users