Read all FORM fields into PayPal

home page
std.css

We take the above (in the main article) simple scripts and combine them into a routine that reads all FORM elements and puts them into PayPal data. The abilities of each of the above simple scripts are maintained. Something new here is the ability to direct items into different variables of PayPal (including selects).

We start with the output of the PayPal button factory and make a few changes. Then the JS processes the FORM and adjusts the fields. Right-click on this page (and <view source>) to see what was done.