09-01-2017, 07:07 PM
You gave your select element an id, but not a name.
The id is a unique name for the an element and is usually used for Javascript manipulation, while the name should be unique to each form is what is passed to your POST data to be used via PHP. I often make this mistake myself when changing forms around so it's something I'm always looking out for!
Code:
<select id="street" name="street" class="form-control" form="payment-form" required>
The id is a unique name for the an element and is usually used for Javascript manipulation, while the name should be unique to each form is what is passed to your POST data to be used via PHP. I often make this mistake myself when changing forms around so it's something I'm always looking out for!