[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
RE: [mv] making fields required in forms
****** message to minivend-users from "Christopher Thompson" <ct@arborinternet.com> ******
Orders and checkout are handled differently than regular forms. The
checking you are using is for order forms checking. If you want to check
the values of a non-order form, use mv_check. There is a good example of
how it works in the simple demo in feedback.html and etc/feedback.html.
> -----Original Message-----
> From: owner-minivend-users@minivend.com
> [mailto:owner-minivend-users@minivend.com]On Behalf Of Roman M. Lerner
> Sent: Monday, February 14, 2000 3:36 AM
> To: minivend-users@minivend.com
> Subject: [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
>
-
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