skip to Main Content

How do I retrieve the values of a radio group from an HTML dialog?

index.html: <body> <dialog class="dialog"> <form class="report__form" method="dialog"> <div> <input type="radio" name="report" vale="vulgar" /> <label for="vulgar">Vulgar/Offensive Language</label> </div> <div> <input type="radio" name="report" vale="duplicate" /> <label for="Duplicate">Duplicate</label> </div> <div> <input type="radio" name="report" vale="broken" /> <label for="broken">Broken</label> </div> <button class="dialog__submit">Submit</button> </form> </dialog> <button…

VIEW QUESTION

Html – How can I have this specific class of button redirect when clicked/enter, while keeping the original functionality?

I have this button on a novalidate html form and I'm trying to get it to redirect to another webpage, while keeping the original functionality of creating an account. <button class="yWSHVqDY3QXtLSenwRoA" data-test="create-account-create-button" type="submit"><span>Create account</span></button> The end goal is for when…

VIEW QUESTION
Back To Top
Search