[ic] multiple mv_nextpage

Bill Carr interchange-users@interchange.redhat.com
Tue Mar 12 09:23:01 2002


On Tue, 2002-03-12 at 03:05, Paul Jordan wrote:
> Hi guys,
> 
> 
> I am trying to get a form to have multiple mv_nextpage values depending on
> what the user clicks. What am I doing wrong?? (this is just the form
> inputs). I am trying to get different form submits to have different
> mv_nextpage(s) in the same form.
> 
> <FORM ACTION="[process secure=1]" METHOD="POST">
> <INPUT TYPE=hidden NAME=mv_session_id VALUE="[data session id]">
> <INPUT TYPE=hidden NAME=mv_order_profile VALUE=account_change>
> <INPUT TYPE=hidden NAME=mv_todo VALUE=return>
> <INPUT TYPE=HIDDEN NAME=mv_check VALUE="Save_database">
> 
> [set Save_database]
> [userdb save]
> [/set]
> 
> [set Save_Acct_Info]
> mv_nextpage=@@MV_PAGE@@
> [/set]
> 
> [set Save_and_Index]
> mv_nextpage=index
> [/set]
> 
> 
> ..........More Inputs here.........
> 
> 
> <INPUT TYPE=image src="__BUTTON_DIR__/saveinfo.gif" VALUE="Save_Acct_Info"
> NAME="mv_click" >
> 
> 
> <INPUT TYPE=image src="__BUTTON_DIR__/saveindex.gif" VALUE="Save_and_Index"
> NAME="mv_click">
> 
> 
> [if items]
> [set Save_and_Checkout]
> mv_nextpage=ord/checkout
> [/set]
> 
> <INPUT TYPE=image src="__BUTTON_DIR__/savecheckout.gif"
> VALUE="Save_and_Checkout" NAME="mv_click">
> [/if]
> </form>
> --------------------------------
> 
> All I get is :   Sorry, the page () was not found. I thought you can set
> many routines and call them with mv_click, am I wrong?
> 
> 
> Thanks in advance for any <input> :)
> 
> Paul Jordan
Check out the profile account_change. It should be defined in
<catroot>/etc/profiles.order

-- 
Bill Carr
Worldwide Impact
bill@worldwideimpact.com
413-253-6700