For the cancel button, it can be parameterized just like any other
link. As scorpio suggested, you could use the referrer as the href
for it.
Bryan
> --
> You received this message because you are subscribed to the Google Groups
> "Hobo Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/hobousers/-/tXLi-dYNrNgJ.
> To post to this group, send email to hobo...@googlegroups.com.
> To unsubscribe from this group, send email to
> hobousers+...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/hobousers?hl=en.
http://cookbook-1.3.hobocentral.net/api_tag_defs/after-submit for the
submit button.For the cancel button, it can be parameterized just like any other
link. As scorpio suggested, you could use the referrer as the href
for it.Bryan
On Sat, Mar 3, 2012 at 2:23 PM, Bob Sleys <bsl...@gmail.com> wrote:
> Is there a simple way to make a form return to the referring page on a save
> or cancel? I have links to edit an item from 2 different locations in my
> app and I'd like the user returned to the page that they used to get to edit
> the item instead of a fixed page.
>
> Bob
>
> --
> You received this message because you are subscribed to the Google Groups
> "Hobo Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/hobousers/-/tXLi-dYNrNgJ.
> To post to this group, send email to hobo...@googlegroups.com.
> To unsubscribe from this group, send email to
I wouldn't call it dumb, it's a common mistake. I think we need to
start a manual page: "Frequent questions & misunderstandings". Top
of the list would be an explanation of the difference between no
colon, colon at the end and colon in the middle.
I also really wish we could make Hobo throw an error when people used
an undefined parameter. Unfortunately, that's not an easy fix to
Hobo, and would break a significant part of Rapid.
For that's what you've done here.
<after-submit: go-back/> means "add the go-back attribute to the
after-submit parameter". But the form doesn't have an after-submit
parameter, so the line is completely ignored.
you want
<after-submit go-back/> without the colon. However, you can't stick
it there because you can't mix parameter and non-parameter statements
-- where would the non-parameter statements go? The easiest solution
is just to throw it inside your actions, but a "better" solution would
be to explicitly place it:
<append-field-list:> <after-submit go-back/> </append-field-list:>
Bryan
>> > hobousers+...@googlegroups.com.
>> > For more options, visit this group at
>> > http://groups.google.com/group/hobousers?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Hobo Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/hobousers/-/gepIH_v176gJ.
>
> To post to this group, send email to hobo...@googlegroups.com.
> To unsubscribe from this group, send email to
> hobousers+...@googlegroups.com.
>> > For more options, visit this group at
>> > http://groups.google.com/group/hobousers?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Hobo Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/hobousers/-/gepIH_v176gJ.
>
> To post to this group, send email to hobo...@googlegroups.com.
> To unsubscribe from this group, send email to
Can you please post your DRYML for this? There's probably a typo in
there somewhere.
> Adding it to the actions section did
> nothing.
What version of Hobo are you using? It's certainly possible that I
broke it in 1-3-no-prototype or 1.4...
Bryan
What version of Hobo are you using?
Bryan
> --
> You received this message because you are subscribed to the Google Groups
> "Hobo Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/hobousers/-/RDEORnLs-J0J.
>
> To post to this group, send email to hobo...@googlegroups.com.
> To unsubscribe from this group, send email to
> hobousers+...@googlegroups.com.