Gossamer Forum
Home : Products : DBMan : Customization :

Re: [Watts] Multipage Mod

Quote Reply
Re: [Watts] Multipage Mod In reply to
Hi Watts.

Thanks for your feedback. I finally cracked it. I updated as per your 2 recommendations (although that didn't fix the problem of jumping pages 3 and 5).

The solution was to make changes in the html_modify_success sub as follows (set pagestatus to the same as current page). Not sure why but there is some circular thing going on and this seems to work:

###MULTIPAGE MOD: this keeps modify_success from displaying the page just entered and instead takes the user to the next appropriate page. Also displays a brief "please wait" message which I think is kinda cool.

if ($in{'PageStatus'} eq "1") {print qq|
<meta http-equiv = refresh content = "0; URL=$db_script_link_url&modify_form=1&PageStatus=2&ID=$in{'ID'}">
|;}

if ($in{'PageStatus'} eq "2") {print qq|
<meta http-equiv = refresh content = "0; URL=$db_script_link_url&modify_form=1&PageStatus=3&ID=$in{'ID'}">
|;}

if ($in{'PageStatus'} eq "3") {print qq|
<meta http-equiv = refresh content = "0; URL=$db_script_link_url&modify_form=1&PageStatus=3&ID=$in{'ID'}">
|;}

if ($in{'PageStatus'} eq "4") {print qq|
<meta http-equiv = refresh content = "0; URL=$db_script_link_url&modify_form=1&PageStatus=4&ID=$in{'ID'}">
|;}

if ($in{'PageStatus'} eq "5") {print qq|
<meta http-equiv = refresh content = "0; URL=$db_script_link_url&modify_form=1&PageStatus=5&ID=$in{'ID'}">
|;}

if ($in{'PageStatus'} eq "6") {print qq|
<meta http-equiv = refresh content = "0; URL=$db_script_link_url&modify_form=1&PageStatus=6&ID=$in{'ID'}">
|;}

if ($in{'PageStatus'} eq "7") {print qq|
<meta http-equiv = refresh content = "0; URL=$db_script_link_url&modify_form=1&PageStatus=7&ID=$in{'ID'}">
|;}

if ($in{'PageStatus'} eq "Done") {print qq|
<meta http-equiv = refresh content = "0; URL=$db_script_link_url">
|;}

print qq|
</head>


Your appreciatively,



AndyJ Blush
Subject Author Views Date
Thread Multipage Mod jigme 4656 Aug 21, 2002, 1:25 AM
Thread Re: [jigme] Multipage Mod
flymo 4568 Aug 21, 2002, 5:02 AM
Thread Re: [flymo] Multipage Mod
Watts 4589 Aug 21, 2002, 11:15 AM
Thread Re: [Watts] Multipage Mod
Watts 4584 Aug 22, 2002, 7:31 AM
Thread Re: [Watts] Multipage Mod
LoisC 4590 Aug 22, 2002, 11:59 PM
Thread Re: [LoisC] Multipage Mod
Watts 4528 Sep 4, 2002, 3:13 PM
Thread Re: [Watts] Multipage Mod
andyJ 4351 Nov 20, 2002, 2:12 PM
Thread Re: [andyJ] Multipage Mod
Watts 4325 Nov 22, 2002, 3:33 PM
Post Re: [Watts] Multipage Mod
andyJ 4313 Nov 22, 2002, 3:41 PM
Thread Re: [Watts] Multipage Mod
Watts 4307 Nov 22, 2002, 3:50 PM
Thread Re: [Watts] Multipage Mod
Watts 4298 Nov 24, 2002, 12:40 PM
Post Re: [Watts] Multipage Mod
andyJ 4269 Nov 25, 2002, 12:42 PM