Jump to content

Archived

This topic is now archived and is closed to further replies.

Lyricsride

"semi-Advanced" form techniques not working, need guidance(img/details included)

Recommended Posts

Hey everyone, i'm trying to create a form which allows a user to state which projects he is workin on in an association, and what his position is in the selected project. Then i want his selections to be recorded into MySQL for later retrieval.

Here is my form CURRENTLY

[url=http://codes.concordia.ca/codes/assets/img/temp/problem/1.png]http://codes.concordia.ca/codes/assets/img/temp/problem/1.png[/url]
I have the first page working, no problems.

[url=http://codes.concordia.ca/codes/assets/img/temp/problem/2.png]
http://codes.concordia.ca/codes/assets/img/temp/problem/2.png[/url]
Second page as you can see has recorded the first page data fine.

[url=http://codes.concordia.ca/codes/assets/img/temp/problem/3.png]http://codes.concordia.ca/codes/assets/img/temp/problem/3.png[/url]
Just an example of the user selecting multiple projects. I have no experience with javascript so do not know how to control it well. My duplicated project fields spawn below the submit button no matter what i do. they are currently spawned by by pressing the text "add extra project"

[url=http://codes.concordia.ca/codes/assets/img/temp/problem/4.png]http://codes.concordia.ca/codes/assets/img/temp/problem/4.png[/url]
As we move on to the third page i've tried to put the project/position selection into arrays. i failed. they do not print out and i am quite stumped as to how to work it. I am only a beginner and complicated form-related arrays that must be put into MySQL still cause me difficulty.

[url=http://codes.concordia.ca/codes/assets/img/temp/problem/5.png]http://codes.concordia.ca/codes/assets/img/temp/problem/5.png[/url]
The fourth page works fine, expcet for the second page data, again

All of this takes place on one single page. Here is the code, i know it's a bit much so i will answer questions as best i can.

The code was too much for this forum to upload so i've put it here [url=http://codes.concordia.ca/codes/assets/img/temp/problem/6.png]http://codes.concordia.ca/codes/assets/img/temp/problem/6.png[/url] instead.

Thank you all for your help, i know that somehow i must use PHP arrays, and javascript, but i just can't seem to crack this. And i've found NO tutorials or issues exact enough to solve my problem.

Thank you!

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.