Hey everyone. First I'd like to say this is a great community and seeing as I've finally started attempting to learn PHP I decided I'd finally sign up for all of the current and future help I will need haha.
Okay well I'm currently setting up a website for my dad and he needs a form that has dynamic fields (user can add more sets of fields). You can look here for a visual...
http://hbndev.com/ipad/index.php?option=com_content&view=article&id=2&Itemid=3
As you can see the user can add more sets of fields to add more info. Now I'm gathering the info just fine to display on the php file it goes to just fine. However I can't get the info to be emailed. I've tried a lot of different ways of setting it up and no matter what the info just won't be sent. The closest I've got is getting the last field set displayed in the email....ie
First Field Set: Job 1 - Option 1 - Material 1
Second Field Set: Job 2 - Option 2 - Material 2
The email will only contain "Job 2, Option 2, Material 2"
I need the email to display all of the info and preferably have it inline...ie
First Field Set: Job 1 - Option 1 - Material 1
Second Field Set: Job 2 - Option 2 - Material 2
Email:
Job 1 - Option 1 - Material 1
Job 2 - Option 2 - Material 2
Here are links to the code I have now...
PHP:
http://paste2.org/p/1243636
Form:
http://paste2.org/p/1243638
Javascript:
http://paste2.org/p/1243640
Any and all help is much appreciated.
If you'd like you can contact me via aim, msn or email...
iregicide, iregicide@aol.com