How do you add "user-defined" fields to a page...
Posted: Wed Aug 16, 2006 4:54 pm
Hi Guys,
I just saw this feature on one website, where you have a input box (1 liner) and a button next to it labeled "Add Another Field"
This feature is different than devnetwork's forum "poll option" input field because the one here refreshes to add another field... while this guys site dosen't
Now, initially, only one input box is shown with the "add another field" button:
When you click on the add another field button, another inputbox shows up below the first one.... and the process continues as many times as you want to add another input filed.
Now, I can figure it out by looking at the javascirpt code as how the author is doing this
.... and i am sure it would not be hard to replicate it either...
BUT. How would you go about adding the fields to the database?
Thanks,
-Matt
I just saw this feature on one website, where you have a input box (1 liner) and a button next to it labeled "Add Another Field"
This feature is different than devnetwork's forum "poll option" input field because the one here refreshes to add another field... while this guys site dosen't
Now, initially, only one input box is shown with the "add another field" button:
Code: Select all
---------------------------------- -----------------------
| | | Add Another Field |
---------------------------------- -----------------------Now, I can figure it out by looking at the javascirpt code as how the author is doing this
BUT. How would you go about adding the fields to the database?
Thanks,
-Matt