View Single Post
Old 12-17-2008, 04:29 AM   #1 (permalink)
Peuplarchie
The Acquainted
 
Peuplarchie's Avatar
 
Join Date: May 2008
Location: Québec
Posts: 104
Thanks: 10
Peuplarchie is on a distinguished road
Application Adding section in form depending on user

Good day to you all,
here i come again with a probably easy question for you but I can't find what i'm looking for.


What I have:
Simple form....
PHP Code:
<input name="artist" value="Artist" />
<
input name="country" value="Country" />

<
input name="cd" value="Album" />
<
input name="year" value="year" />
<
input name="price" value="price" /> 

MY GOAL:


Have a link that would add a section into the form dynamicly with out reloading of the page. (add an album from this artist)
PHP Code:
<input name="cd" value="Album" />
<
input name="year" value="year" />
<
input name="recorded" value="Recorded" /> 

BUT:
Here is the twist, I need to be able if to add another section for DVD.
Different field is required for this...
PHP Code:
<input name="DVD" value="DVD" />
<
input name="year" value="year" />
<
input name="where" value="where" /> 

I know there will be some JS and CSS but I think the core could be PHP.


Thanks for any help, I still searching, directions would be nice...
__________________
That's why we are not alone on earth... let's build !
Peuplarchie is offline  
Reply With Quote