one form,two submit,hao to submist to action what you want?

<form action="/edit/notice/edit" method="post">
<input type="hidden" name="data[Notice][announce_id]"  value="1"
id="NoticeAnnounceId" />
<input name="data[Notice][subject]"  size="50" value="" type="text"
id="NoticeSubject" class="form_error" />
<textarea name="data[Notice][content]"  rows="8" cols="70"
id="NoticeContent">werasd</textarea>
<input type="submit" class="search_channel_button"
name="Notice/actionEdit" value="Edit" />
<input type="submit" class="search_channel_button"
name="Notice/actionDelete" value="Delete" />
</form>


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to