[ic] forms on a more-list? (or fly-pages)

Mailing Lists lists at gmnet.net
Sun Sep 24 19:36:34 EDT 2006

On Wed, 2006-09-20 at 17:09 +0100, Kevin Walsh wrote:
> Mailing Lists <lists at gmnet.net> wrote:
> > Is there an easy way to submit forms using the next and prev links that
> > a more list makes?
> > 
> > i.e. I am using a search-region to loop through a bunch of records in a
> > table one page at a time. I would like people to fill out forms on each
> > of these pages. When they hit next or whatever in the more-list, I would
> > like to submit a form (or at least set scratch variables...) before
> > going to the next page...
> > 
> You could change the "link template" to create <input> buttons if that's
> what you mean.  See here:
>     http://www.interchange.rtfm.info/icdocs/tags/more-list.html#link-template

Thanks Kevin, that helped me get in the right direction, but I have a
problem submitting the form, and a problem with the more-list itself. 

Problem 1:
The problem with the forms are setting the fail and success pages. the
[search-region] displays one record per page. each page has a form for a
user to fill. if the form fails, I need it to reload the current page,
and if the form submit is success, I need it to go to the next page in
the more-list, I can't seem to get the navigation working.

Problem 2:
In the more list itself, it shows all the records (pages) as buttons in
the list. (due to setting the template as a submit button) I only need
next and previous.

Maybe I am approaching this whole thing wrong. Maybe I should do them
all in fly-pages instead. If I do that, I still want to make it
look/feel and act like the more-list... I have tried it, an can't seem
to make the mv_success_href to work!

Any advice??


More information about the interchange-users mailing list