Paypal Enhanced Demo
Privacy: Submitted data will not be stored or used!
This form demonstrates the enhanced Paypal features established since version 1.3.
Since version 1.3 you can use user submission for quantity and amount.
Also a new feature is the tax calculation by percentage.
Please note that the FRONTEND calculations are not built in by default!
What you see here is a custom JavaScript which calculates and displays subtotal, vat and total!
DO NOT TRANSFER MONEY BY THIS FORM! YOU WILL GET NO REFUND!
* Required information.
This is the frontend calculation JavaScript:
var qtyField = dojo.byId("m4j-177"); var amountField = dojo.byId("m4j-178"); var subTotalField = dojo.byId("m4j-181"); var vatField = dojo.byId("m4j-184"); var totalField = dojo.byId("m4j-186"); subTotalField.disabled= "disabled"; vatField.disabled= "disabled"; totalField.disabled= "disabled"; qtyField.value = qtyField.value || 1; amountField.value = amountField.value || 0; function calculate(){ var qty = parseInt(qtyField.value) || 1; var amount = parseFloat(amountField.value) || 0; var subTotal = Math.round(qty * amount * 100)/100 ; subTotalField.value = subTotal; var tax = Math.round( ( subTotal / 100 * 19) * 100)/100 ; vatField.value = tax; totalField.value = ( subTotal + tax ); } dojo.connect(qtyField,"onkeydown",calculate); dojo.connect(amountField,"onkeydown",calculate); dojo.connect(qtyField,"onkeyup",calculate); dojo.connect(amountField,"onkeyup",calculate); calculate(); dojo.addOnLoad(function(){ dojo.query(".m4j_submit")[0].onmousedown= function(){ calculate(); subTotalField.disabled= ""; vatField.disabled= ""; totalField.disabled= ""; }; });
Drop Selection Module
Proforms List Module
- Simple Joomla® Form
- Multiple form template example
- Personal Info - App Display Demo 1
- T-Shirt Creator - App Display Demo 2
- Joomla registration form
- Joomla form preview
- Validation and Security for forms
- Paypal form
- Paypal Enhanced Demo
- Double Opt-In (Newsletter)
- App demo scroll down to confirm
- Password protection for forms