anthon1
Aug 11 2005, 08:33 AM
Greetings,
I'm trying to modify the add location form to include an array of checkboxes to save in the USER5 field. Do you have any suggestions on doing this properly.
When I hit save, it simply stores the word ARRAY in the database. I was hoping someone here has modified that part of the script to allow for arrays.
Any help would be appreciated.
Thanks
Anthony
Brian
Aug 11 2005, 12:56 PM
If you have put multiple checkboxes on your "Add a Location" form, and you want all the values combined and dumped into the user5 field, then you will have to have javascript combine the values before the form submits, or you could add custom php code in the visitor_add_complete.php page that combines all these values before it saves to the database.
Sorry, but we don't have this code. But I'm sure it can be found on the internet somewhere.
Hope this helps!