Wheels
06-21-2004, 12:41 PM
When posting the data from a multiple selection drop-down box to a .csv database, only the first item gets posted to the field. The form was generated in FP2003 (NOT by me) and I think the problem has something to do with a glitch in the webbot scripts that frontpage uses.
My first question is does anyone know a method other than writing a javascript function to create an array containing the data selected that will post to the database? And don't tell me "don't use frontpage." Believe me, I've been arguing that for a year.
If not, how can I establish the length of the array? I don't think I can just do a .length on the NAME field from the FORM tag, so I assume for every OPTION tag I need to call a function that will tell whether the item is selected or not, count the number of items and put them into an array. I don't know how to do this.
That's the basis of what I'm working with right now. If I can just get those problems out of the way I can take it the rest of the way.
Thanks,
-Wheels
My first question is does anyone know a method other than writing a javascript function to create an array containing the data selected that will post to the database? And don't tell me "don't use frontpage." Believe me, I've been arguing that for a year.
If not, how can I establish the length of the array? I don't think I can just do a .length on the NAME field from the FORM tag, so I assume for every OPTION tag I need to call a function that will tell whether the item is selected or not, count the number of items and put them into an array. I don't know how to do this.
That's the basis of what I'm working with right now. If I can just get those problems out of the way I can take it the rest of the way.
Thanks,
-Wheels