I need to get html radio button data and call upgradeschema.php file, because to my data to database.
This is my html(template) file.
<html> <form **action**=".........."> <input type="radio" name="type" value="html" checked> Html<br> <input type="radio" name="type" value="text"> Text<br> <input type="submit" name="button" value="submit"><br> </form> </html>
This is my form, When click submit button get data from form and call to upgradeschema class file then store the form data to database.
My question is which action class i put into form action part, CaI i call directly upgradeschema call in magento2. or how to get data from form and store database in magento 2 way.