Hi friend,
Here is a solution for ur question my friends,its working for me just
include this in ur view thtml file.
<?php echo $html->input('Modelname/clear', array ('type' => 'reset', 'value'
=> 'Reset'));?>
With regards,
Jenson .A
On Sat, 04 Aug 2007 10:13:10 -0000, sharath wrote
> Hi All,
> In my editing form, the fileds are not resetting.
> This is my code...
> <input type ="submit" name="save" value="save"
> onclick="validation();">
> <input type="reset" name="reset" value="reset">
> Here If I click on reset button, the values are not resetting..
> Is there any function in cake....or what i'm missing here...Pls let
> me know.
>
> sharath.
>
> --~--~---------~--~----~------------~-------~--~----~
> 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 -~----------~----~---
> -~----~------~----~------~--~---
--
Open WebMail Project (http://openwebmail.org)
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---