Merchant OrderForm v1.52 OrderForm ExamplesThis page has examples of how to set up OrderForm Pages(s) on your Web Site. Merchant OrderForm v1.52 now consolidates multiple OrderForm pages from around your site into one invoice. Consult the page on Single Input Examples if you want to collect single products from around your site, and won't be using the OrderForm modes.
You should have some basic skill with constructing Forms in HTML to make your OrderForm page(s). If you use a Web Page Editor like Front Page or Page Mill, then you should know how to use them to Construct Form Input.
You can follow the examples in the underlying HTML syntax on this page to get you started. When you View the Source or HTML for this example page you will also see many Comments embedded around the input syntax. If you need help on the basics of building Forms in Web Pages, there are many free tutorials around the internet.
There are two OrderForm Modes: postmode
Consult the examples further down on this page to see how the two different postmodes work. Here's a summary of what the two modes do.
The examples on this page send the OrderForm Input Page of your products to the MOF System. There are two examples in this section: First, a simple OrderForm Page with No User Input for options; Second, an OrderForm Page that allows for various User Input options for each product. All examples for MOF will consolidate input from various OrderForm Pages.
Uses CheckBox input for each product. Checkboxes do not allow for User Input Options, but simply submit 6 Fields to be processed. Quantity is part of the 6 Field input.
This Form Type uses a Quantity User Input Option to identify if they want the product. A positive quantity instructs MOF to accept the item. A blank quantity instructs MOF to ignore the item. You can set up User Input Options with this postmode Type; however, there are some specific naming rules you must follow.
1. The Classic OrderForm PageThe Classic Web World Ordering Form
This is the simplest use of Merchant OrderForm. In this example, you simply check the items you want to order. No User Input options are allowed. All necessary information on the product is sent as the value of the checkbox. You will sending 6 fields for the value of your checkbox input: You will be submitting 6 Fields of information under the name=order for each Check Box on This OrderForm Page.
This example uses Pop Up windows to preview the products images. Click on the Product Name to see this. It's just an idea, and can certainly be taken out. Just remove the Hype Link reference to the Pop Up windows.
2. The OrderForm Page with User InputThe Web World Ordering Form with User Input
This Form Type Example allows for Quantity User Input to identify if they want the product. A positive quantity instructs MOF to accept the item. A blank quantity instructs MOF to ignore the item. You will be submitting 5 Hidden Fields of information under the name=orderN for each product, and submitting Quantity for that product under the name=quantityN, where N is a number matching order to quantity. Each product will have a sequential Number assigned to the orderN/quantityN pair, and that same orderN/quantityN pair Number will be assigned to any User Input for that particular product. You cannot submit quantityN as hidden, unless you really want that product to be ordered by default. When MOF sees quantityN whether hidden or as text box input by user, then we assume the product is added to the cart.
The Overall Form Input will have :
And each Product's Input will look like this:
On the Quantity Box postmode layout example above you can mix user_inputN boxes, and each of your products can have different selections from the use_inputN boxes. The last two products in this example layout use the same user_inputN boxes, but those input boxes have different values to select from. It's not important what selections are listed in the user_inputN. The important thing is that the user_input name is declared in your configuration file, and that user_inputN Number is matched to the correct orderN when you build this form. Whatever user_inputN boxes are used for each product, the user_input3 must match order3 and quantity3 lines. The documentation has more detail on this.
- quantityN=User Input
- option_nameN=User Input
Note: You do not have to use sequential numbering, but do keep all your orderN, quantityN, and user_inputN numbers together. MOF will find your Numbers whether in sequence or not. This will allow you to edit your products, delete a number out of sequence, or add a number out of sequence, and MOF will still find them for you.
3. Customized OrderForm Input
Support for Custom Processing
Copyright © Merchant OrderForm v1.52
All Rights Reserved, April 2000 by RGA
These programs may not be distributed without consent of owner.