Gossamer Forum
Home : Products : DBMan : Customization :

button for saving, not submitting

Quote Reply
button for saving, not submitting
Hi!

How do I do this (or is it even possible) ?

I need to add a button (or few) in the input page, which saves the data (~400 input fields) every time the user hits it. This shoud work like the submit button, but without moving to the final (html_record_long) page. The idea is that the user can save the data easily (=no need for jumping the loop: add>search>choose>modify), and when everything is done, then hits the submit button and sees the whole record.

I know that I must create a separate search page before those modifications, but I belive it shoud be easy with this guide:

http://www.gossamer-threads.com/...earch%20page;#167490

maco

Last edited by:

maco: Mar 30, 2003, 10:44 PM
Quote Reply
Re: [maco] button for saving, not submitting In reply to
The process you desire sounds much like the Multi-page MOD, check this link from the DBman Resources page.

http://www.gossamer-threads.com/perl/gforum/gforum.cgi?post=212162#212162

That is if you mean to say the add, search, modify, loop is not required action of the user (other than to select "save").

Regarding the process in DBman, yes I think you would need to add part of the record, then find it then modify it, which I think is how the multipage Mod works.

So you may need to to create several new subs, just test the the new subs as you go, backup the one's that work and you will be fine.
Quote Reply
Re: [joematt] button for saving, not submitting In reply to
Thanks for reply joematt.

I forgot to say, that I was aware about the multi-page mod, and it's my second choice. It can do allmost the same, but this save-button is even better: for example, less confusion - one input page.

maco
Quote Reply
Re: [maco] button for saving, not submitting In reply to
Yep. You could actually hack the multi-page mod (back down to a single page mod) so that when user clicks "save" it just loops them back to the page they are on instead of taking them to page 2.