Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Basic info order form Re: Basic info order form

#122236
boj
Member

You can do it with Javascript easily.
First, make HTML input fields as follows:
< input type="text" value="" placeholder="Example" id="test"/ >
(remove the spaces in the input tag)
Then use the following Javascript code to get the value and store it in a variable:
var whatever = document.getElementById(‘test’).value;
I’m rather new to Javascript, but I found this example for radio buttons.

Edit: I made you a codepen of it. [Click here.]

Edit 2: I’m not sure how PayPal handles checkouts so I can’t help you with that. Google around and see if you can find it.