[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
[mv] making fields required in forms
****** message to minivend-users from "Roman M. Lerner" <roman@lerner.co.il> ******
Hello to everyone Please help.
I made some form in my catalog
and i want some fields to be mandatory
i tried to use
[set profile]
name=required
email=required
&fatal=yes
&set successpage thank
[/set]
or various option which i found at maillist but nothing helped
i set in the form <input type="hidden"name="mv_order_profile"
value="profile">
but it seems that minivend ignore it.
i dont quiet understand where i need to set the profile at the form
page or at result from this form page.
i tried both bu it doesnt work
Please tell me what i need to do so minivend will yell if required
fields were not filled
here my file
<html>
<head>
<TITLE>Check Out - __COMPANY__</TITLE>
[set view_profile]
id=required
email=required
&fatal = yes
[/set]
</head>
<BODY background="https://www.davka.com/sidebar.gif">
d[file name="pages/includes/logo_map.txt"]
[include file="pages/includes/logo_map.txt"]
[include file="pages/includes/sidebar.txt"]
<center>Report for Affiliates</center>
<form action="[process-target]" method="post">
<INPUT TYPE="hidden" NAME="mv_doit" VALUE="refresh">
<INPUT TYPE="hidden" NAME="mv_orderpage" VALUE="repport">
<INPUT TYPE="hidden" NAME="mv_failpage" VALUE="special/needfield">
<INPUT TYPE="hidden" NAME="mv_order_profile" VALUE="view_profile">
<table>
<tr>
<td>
Affiliate ID :
</td>
<t>
<input type="text" name="id" value="[value id]" size="20">
</td>
</tr>
<tr>
<td>
Email :
</td> <td>
<input type="text" name="email" value="[value email]"
size="30">
</td>
</tr>
</table>
<input type="submit" name="submit" value="View">
</form>
</td></tr></table>
</body>
</html>
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list