I´m new in developing Plugins for wordpress.
I need a formular where all viewers of the website can fill in data and send it. The send it-button should save it to database.
So I think the way is to define the shortcut and the Formular in the plugin like this:
function formular() {
return 'This is html of Formular';
}
add_shortcode("formular", "formular");
But then I don´t now how to define the Formular with a button to save the data into database. A Database-Table where the data should be saved is already added.
Somebody has got an idea?