Hi there,
I found the AutoComplete Component in the Bakery and I thought it was
exactly what I was looking for. I need this feature for one field in
my form.
I wanted it to implement it into that view:
<h1>Step 1 - Artist</h1>
<form onSubmit="return false;">
<?php
echo $ajax->autoComplete('Artist/name');
if($empty)
echo "* Don't be greedy, enter an artist's name.";
print $ajax->submit('Continue to Step 2', array('url' => 'step1',
'update'=>'steps'));
?>
</form>
But when I submit the form (after selecting something from the auto
complete box) instead of rendering the view it was rendering before
(when it was an input box), it's now giving me a rendering that looks
like that:
<ul>
<li>Whatever I have chosen</li>
</ul>
Does anyone have a fix or an idea of why it does that?
and here'S the link to the autocomplete component:
http://bakery.cakephp.org/articles/view/autocomplete
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---