Wow... I was really overthinking that. Still trying to transition from
Javascript to this.

Thanks!

On Mar 3, 12:25 am, Bruno Rocha <[email protected]> wrote:
> if form.process().accepted:
>     if request.vars.delete:
>         redirect(URL('index'))
>
> On Sat, Mar 3, 2012 at 4:41 AM, HittingSmoke <[email protected]> wrote:
> > I created a very simple blog and when done editing a post, I am
> > redirected to the updated post.
>
> > This works great unless I'm deleting a post, in which case it spits
> > out an error because the post no longer exists.
>
> > How can I tell my controller to check the status of the deleted
> > checkbox before submitting a form update?
>
> --
>
> Bruno Rocha
> [http://rochacbruno.com.br]

Reply via email to