Forums

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

Home Forums CSS Basic info order form

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #42237
    mitso
    Participant

    I want to create an order form for my site. I only need a form to gather information with lists, radio buttons, text fields etc, and then be directed to a payment page which may only be Paypal at this stage.

    Should I just use something like WuFoo or Formstack?

    How can I learn to build it myself, do I need to learn PHP?

    #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.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.