Hi,

I'm trying to have a multiple input text fields with a name "name[]"
so that I will be able to process them as an array with PHP and Insert
them in Mysql.

But as soon as I use the bracket, the autocompleter stops working. Is
there any way to go around it?

document.observe('dom:loaded', function() {
new Ajax.Autocompleter('name[]', 'name_suggestions','auto.php',{tokens:
[',']});
});
</script>

Also, I want to make sure that the value that the user types into the
text field exists in my Mysql database. So the user can only write a
value that matches a value in the database. So when a value that
matches a value in the database is written, how can I catch that?
Should this happen in my auto.php file?

Thank you!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to