|
| |
|
|
bpnoel
Posts: 22 Joined: 10/2/2003 Status: offline
|
Dynamically Adding A Form Field - 4/11/2008 12:46:28
I use the Spooky Login to collect membership information. It works very well for this purpose. I would like to add a feature and I need a little help. I am using version 3.12. I would like to be able to add a separate field for each family member. Currently, I use a custom memo field and allow the members to type their family names in the memo form field. However, it's hard to write sql query for this because I can't validate one name per line or make sure a comma separates each family name. I thought I could add maybe five custom form fields, family1 through family5. Then create a drop down field that ask for the number of family members. Depending on the number of family members selected, That same number of family formfields would become available for inputing family names. I'm comfortable with asp, but I would like some ideas if anyone has a suggestion on where to start.
|
|
|
|
OscarSierra
Posts: 174 Joined: 5/14/2004 From: Norway Status: offline
|
RE: Dynamically Adding A Form Field - 4/19/2008 6:19:58
I'm using SL (Spooky Login) for a couple of almost similar things. I don't use the original SL register form, I have made my own where I do registration in 2 steps, step 1 is for all SL needs (a lot of hidden fields), step 2 is another form adding stuff to another table. Between these two steps I have a simple script grabbing UserID from the Spooky_Users and use that for joining the two tables when needed. For future to come I have also a link to the step 2 form from their personal page so they can add items/ or family members........ - Oystein
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|