Showing 1 – 1 of 1 replies
Danny_boy

So I purcheed this template a week ago […]

Danny_boy PURCHASED
6 years ago
So I purcheed this template a week ago working with PHP Laravel 5.4 framework.
I got to addapt the template to my dev-language on the page "checkout2.html" -> where you get a radio button form to fill out:

<input type="radio" name="shippping" id="option3" class="radio-template">

the problem is as so:
In order to submit information to the server I MUST deliver the attribute(name="foo") with a different value for each selected button BUT if you try to change >> name="shippping" << to a different value the CSS / SASS has malfunctions.
the selected buttons are kept in a checked mode and there's no possibility to either change or remove selections
ondrique
ondrique SELLER
6 years ago
Hi,

I re-read your question and I saw the issue.

Your problem is that you have to name all the radio inputs with the same name (i.e. name="shipping") and assign only different values to them. This is a standard and correct approach for radio lists in HTML. This way the browser knows all these belong to the same selection and therefore allow only one selected possibility.

Best.

Ondrej