Back to Mal's Forms home page
Show the cart contents on your page
Product discounts
Other Mal's Forms shopping cart forms
Hints and tips to help you
Please view my privacy page about cookies and how to remove them.

Here is a full list of all of the syntax (codes) used in Mal's.
Here are the Mal's faqs.

With all of these forms simply click the view source button, then right click and copy / paste (don't forget the script if there is one from the body or head area) into your html editor, change the ww12 to your server number and don't forget to change the user ID to your own number and of course the return link.

If you find one of my Mal's forms not working correctly, please contact me.

We have different products selected from the dropdown list using productpr, we restrict the number that can be added to the cart by using a script in the form itself.


A minimum order value.


Offer a discount based on the total number of hours booked.


Shipping option 8, an external shipping calculator.


calculating based on three dimensions to give a value in cubic inches.


Open the cart in a popup window.


Here we have discounted items, but a fixed discount based on the total number of products ordered.


With Mal's, a problem that can arise, is how do I ship to different post codes if I'm not using UPS or a similar carrier? Now we have a way of doing just that.


With this form, we charge for each quantity of 12 or part of, a packing charge of 7.00.


You may have a situation where you need to have the quantity box filled in, by default, Mal's will give use a quantity of one at the cart, with this form, you force the buyer to enter a number in the qty field.


Here we have all of the products passed to the cart but, instead of having each product in its own line, we total all of the prices and so have only one total cost line.


If you have multiple forms on the same page, you need multiple scripts. Here is the answer.


Free delivery if the buyer orders more than $100 worth, as the products are different prices, we cannot use discountpr.


We have a running total of the number of dark chocolates selected and the milk ones, plus a total of them together, so the buyer knows if they've reached their total.


If you have a one off or a limited number of stock of a product, once the item is added to the cart, the product quantity value is reduced by one.


This form works on multiples of two, for every two a free one is added to the cart, so if the quantity is 3 then 1 free is added to the cart, for a quantity of 4, 2 free are added to the cart, for a quantity of 5, 2 free are added to the cart, etc.


Here we have a form that can be used to book a taxi for a short distance trip or, anything where you need to charge for a long distance trip. This could be shipping for a specific product for example.


With this form, we collect all information and pass it to Mal's in one block. But with this script, we have three sizes plus a font choice plus text lines, all are sent to Mal's on new lines so easy for the buyer and you to identify. This form is ideal if you are printing anything.
With this form, we collect all information and pass it to Mal's in one block. But with this script, we have three sizes plus a font choice plus text lines, all are sent to Mal's on new lines so easy for the buyer and you to identify.


Send to cart, but stay in the same window this refreshes the page, so removes the qty.


A dropdown list, that when a product is selected, only shows the options for that product by opening a new div, this div can hold more options, images, anything. You can create an unlimited number of hidden divs on a page. You can use this if you have more than one form on a page.
A dropdown list, that when an option is selected, only shows the options for that product. You can use this if you have more than one form on a page.


Calculate a square footage by the buyer inputting their details in inches, then multiply this square footage by the type and price of a product selected, then multiply this by the quantity they want.

Many other features, this script is not free as it took me all day to build.

Calculate a square footage by the buyer inputting their details in inches, then multiply this square footage by the type and price of a product selected, then multiply this by the quantity they want.


Calculate based on three values.


A page with 48 variables, a paper type, a size and a color. Then after chosing the final variation, you can select the quantity of the product. With each product, there are addons as well. All of this in one small foot print on a page.


Here we have two different submit links, they could be buttons/images; one will add to the cart but return the user to the same page using the 'nocart' attribute. The other submit link sends the buyer straight to the cart.


Check the page is used by a human and not a bot.


Send all of your form products to the cart and have them in one total price, but with each product field on its own line. This script took me hours to build, so it isn't free.
Send all of your form products to the cart and have them in one total price, but with each product field on its own line.


The most complex form in the World. Yes this is a great form, hats off to David for working endless hours creating the javascript to get this all working.
The most complex form in the World. Yes this is a great form, hats off to David for working endless hours creating the javascript to get this all working.


Show the viewer the total cost, but only pass a deposit value to Mal's.


This running total gets over the issue of sending all of the form contents to the cart, selected or not.
This running total gets over the issue of sending all of the form contents to the cart, selected or not.


BOGOFF - Buy One Get One Free.


A choice of color added to a product.
A choice of color added to a product.


Charge per word, perfect for selling advertising space. The client is charged a minimum value and then an amount per word above a number of words.
Charge per word, perfect for selling advertising space. The client is charged a minimum value and then an amount per word above a number of words.


With this product, any letter is charged at 1.00 each, but only after the first six letters.
With this product, any letter is charged at 1.00 each, but only after the first six letters.


Charge per character, a method of charging for each character, including spaces.
Charge per letter, a method of charging for each character.


Charge for text, spaces are removed, so only the letters and or numbers are counted and sent to the cart.
Charge for text, I think this one is self-explanatory.


A dropdown that passes the selection with the other options to the cart.
A dropdown that passes the selection with the other options to the cart..


Need a calendar for the client to choose a date and time (24 hour clock, worldwide compatible) or an in-date and out-date?
Need a calendar for the client to choose a date and time (24 hour clock, worldwide compatible) or an in-date and out-date?


Need a calendar for the client to choose a date only?
Need a calendar for the client to choose a date?


Appointment using text boxes and a dropdown.


A maximum quantity, used on either a single or multiple product form.


A minimum quantity, used on either a single or multiple product form.


Minimum or maximum quantity spread over multiple selections.


A registration form with mandatory fields, such as name, address, city etc.


A running total, not using a quantity, but using the product through checkboxes.
A running total, not using a quantity, but using the product through checkboxes.


Three dropdowns for Product, Option and Quantity.
Three dropdowns for Product, Option and Quantity.


Here we have two products, the first has a minimum order quantity of 25, the second is 50.
Minimum or maximum quantity of a couple of forms on the same page using productpr for the dropdown and product for the user to order their own quantity.


Force the buyer to choose from selections, the list of dropdowns can be hundreds if needed, the script can be external and various scripts; script1, script2 can be called on for form1, form2 on the same page.
Force the buyer to choose from selections, the list of dropdowns can be hundreds if needed, the script can be external and various scripts; script1, script2 can be called on for form1, form2 on the same page.


Need some data filling in on the web page before it goes to the cart? Confirm an email address?
Need some data filling in on the web page before it goes to the cart? Confirm an email address?


Charge per person as the name is entered into a text box. The form only passes the cost through to the cart when the text box changes.
Charge per person as the name is entered into a text box. The form only passes the cost through to the cart when the text box changes.


Give the customer the chance to multiple select different options, the only drawback is the quantity they order must equal the number of selections (open to humans getting involved).
Give the customer the chance to multiple select different options, the only drawback is the quantity they order must equal the number of selections (open to humans getting involved).


Give your customer the chance to add their own message or personalisation. Alternatively, you could use the multiple dropdown using checkboxes (Below).
Give your customer the chance to add their own message or personalisation. Alternatively, you could use the multiple dropdown using checkboxes (Below).


A multiple dropdown using checkboxes, however the selection isn't shown until the user chooses a checkbox, multiple checkboxes can be selected, variable quantities can be added. No script modification is needed.
A multiple dropdown using checkboxes, however the selection isn't shown until the user chooses a checkbox, multiple checkboxes can be selected, variable quantities can be added. No script modification is needed.


Multiple dropdown using radio buttons, a different way of doing a hidden dropdown.
Multiple dropdown using radio buttons, a different way of doing a hidden dropdown.


A basic form, this is a straight forward, place your quantity in a box.
A basic form, this is a straight forward, place your quantity in a box.


Two or more products plus options in one form.
Two or more products plus options in one form.


An add on or more for an item.
An add on or more for an item.


Here we have T Shirts with different sizes and colors.
Here we have T Shirts with different sizes and colors.


A simple single dropdown with options.
A simple single dropdown with options.


A choice of 6 different flavors, or choose all 6 of the same one.


A variation of the above, this time using text boxes for the purchaser to enter their own amount.
A variation of the above, this time using text boxes for the purchaser to enter their own amount.


2 dropdown's plus a text box.
2 dropdown's plus a text box.


2 dropdown choices plus a check box.
2 dropdown choices plus a check box.


Drop downs plus multiple text boxes, this example is a jewellery web site where the purchaser can choose between various options and add their own personal message.
Drop downs plus multiple text boxes, this example is a jewellery web site where the purchaser can choose between various options and add their own personal message.


2 drop downs for ordering either an item or a composite of items.
2 drop downs for ordering either an item or a composite of items.


Another multiple choice form.
Another multiple choice form.


Multiple Radio Buttons.
Multiple Radio Buttons.


Options of size plus multiple colors and a text box.


A one off fee in the form of a radio button.
A one off fee in the form of a radio button.


Add a one off fee, this can be used for any "one off" addition to a product.
Add a one off fee, this can be used for any "one off" addition to a product.


A choice of colors for the product, plus a tally carried through to the cart.
A choice of colors for the product, plus a tally carried through to the cart.


Multiple choices plus extra option and quantity.
Multiple choices plus extra option and quantity.


A dropdown that changes the content of a second dropdown, great if you only want to have certain variations available for a product.
A dropdown that changes the content of a second dropdown, great if you only want to have certain variations available for a product.


Use text as the link to send a form and not a button or image.


Only allow the buyer to order if their zip / postcode is in your list of allowed codes.


Returning the viewer to a php page has a slight problem that if, in the return line the is an & sign, this breaks Mal's return line, so that symbol needs replacing with a special code.Returning the viewer to a php page has a slight problem that if, in the return line the is an & sign, this breaks Mal's return line, so that symbol needs replacing with a special code.


Return the user to an anchor on your page using either a form or button.
Return the user to an anchor on your page using either a form or button.


A button that opens the cart in a new window.


A color picker, you could use it for any large variable to reduce your form/page size.
A color picker, you could use it for any large variable to reduce your form/page size.


Got tax on items except for one that is tax free?


Due to people abusing my generous nature over the years, I am now forcing charges. To take a look at your form needs a donation of at least $10.00 / £8.00, to design a new form I need a donation of at least $25.00 / £20.00 before I will start building it. I have had people send me $5/£3/€4 for three hours work!!! That is why I am now charging. You can donate using most major credit cards, you do not need a PayPal account.

If you would like me to help you with your form, or design a form for you, please contact me after you've made a donation using the form below. PayPal charges 30 cents + 2.9% of the total payment. PayPal costs will be deducted from your payment when received by me, so ensure your payment is to the correct value.

 This will be the amount you will be donating:  PayPal

If you would like to make a donation for my time with building the forms you find of use on this site, you can use the link to my charity... NSPCC