What can I do to make this form post correctly?

Head out to http://touringprofessional.com/registration_1.php

I've got a form function happening just prior to my "Submit" button. Problem is, while the function is working correctly (you pick a category and it automatically populates a subcategory in the pull down menu alongside it), I can't post the collective info.

What can I do differently to make the page post correctly?
brucegustPHP DeveloperAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

sjklein42Commented:
You have improperly nested your forms.

There is this chunk of code in the middle of your main form that is messing it up:

	<form name=form>
	<table>
	<tr>
	<td>
	<select id="firstChoice_1" name="secondary_start"  class="styled-select" onchange="selectChange(this, form.secondChoice_1, arrItems2, arrItemsGrp2);">
	<option value="0" selected>choose from the following...</option>
	<option value="5">Instrumentalist</option>
	<option value="6">Singer</option>
	<option value="7">Production / Technical</option>
	<option value="8">Support Staff / Crew</option>
	</select>
	</td><td>
	<select id="secondChoice_1" name="secondary" class="styled-select">
	<option></option>
	</select>
	</td>
	</tr>
	</table>
	</form>

Open in new window

0
brucegustPHP DeveloperAuthor Commented:
I understand that. I was able to get the main form to fire correctly when I removed the code that you reference above. My question is: How can I keep that functionality and still have the main form fire correctly?

I've got to have those pulldowns and then I've got to be able to post all of the resulting information to the next page. How?
0
sjklein42Commented:
You cannot nest forms.

Can't you put it all in the single, outer form?

What happens if you simply get rid of line 1 and line 19 above, and change line 5 to use the name of the outer form instead of "form."?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
brucegustPHP DeveloperAuthor Commented:
That did it!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
JavaScript

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.