As always. there are many ways to go. You could use ajax as phazorRise suggested, which is often handy. Could be tricky if you're new to ajax though. A simpler javascript solution could be to load the entire form on page but hide (CSS display:none  the second part. Then use javascript to unhide it, when the first part is filled.
If you do not want to rely on javascript, the simplest way is probably to submit the first form to another page at which you will recieve the data and analyze it. Determine what the next part of the form should be and output that part. Either with a big if-else-construct or better yet include (with the include() or require() function) a file that has that part of the form.
__________________
Your answers will only be as good as your question. Formulate it well and give all the necessary information.
|