Why are you mixing the (deprecated) Ajax-Helper with html code for a
form? Have you tried relying on the helper to produce the code for
your form?

On 14 Mrz., 14:21, heohni <[email protected]>
wrote:
> Hi,
>
> I have this form:
> <?php echo $this->Ajax->Form('searchMember', 'post', array('update' =>
> 'target', 'url' => array('action' => 'searchMember'))); ?>
> <p class="label_field_pair">
> <label for="q">Suchwort:</label>
> <input type="text" name="q" value="" />
> <input type="hidden" name="bst" id="bst" value="">
> <input type="submit" value="filtern" id="overlayfilter">
> </p>
> <?php echo $this->Ajax->Form->end(); ?>
>
> And everytime I press the submit button, the request is send 2 times,
> I can see this with firebug in my firefox.
> Is there something wrong in the $this->Ajax->Form part?

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to