[ic] [button] and mv_form_profile question.

JOHN WRONG interchange-users@icdevgroup.org
Fri Feb 28 17:00:02 2003


If I put mv_form_profile in a [button ...] it didn't work. But 
if I set it as <input type=hidden name="mv_form_profile" .....
it worked. Shouldn't both work? I also checked that if the 
mv_todo, mv_form_profile were set right and they were.


<html>
<body>
<BR>
[cgi mv_todo] [cgi mv_form_profile] [cgi mv_doit]<BR>
[scratch my_validate]
[update values]

<form action="[process]" method="POST">
<input type=hidden name="mv_session_id" value="[data session 
id]">

<input type=hidden name="mv_form_profile" value="my_validate">
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
If I put the above here it works.


[error name=textfield std_label="Generic Textfield" required=1]
<input type=text name="textfield" value="[value textfield]"><br>

[set my_validate]
&success=index
&fail=@@MV_PAGE@@
textfield=required
&fatal=1
[/set]

[button
        name="mv_click"
        src="__THEME__/placeorder.gif"
        text="Go"
        hidetext=1
]
mv_todo=return
mv_form_profile=my_validate
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
If I remove <input type=hidden name="mv_form_profile" ... and 
put this here it won't work.


[/button]

</form>
</body>
</html>

________________________________________________
Get your own "800" number
Voicemail, fax, email, and a lot more
http://www.ureach.com/reg/tag