According to the WP codex, the submit_button in WP will generate the HTML code for the submit button. (See example in Codex https://codex.wordpress.org/Function_Reference/submit_button ).
So, additional info needed: what is the generated page code look like for the form? (from the Page Source). Is any code being generated?
But that’s not your problem. The problem is the ‘Required’ parameter of the statement; it is invalid. Should be
required="Enable" >
Closing “>” is missing also.
Sometimes, looking at the generated page code will help you find the problem.
Related Posts:
- Plugin Form Submission Best Practice
- $_POST form request with admin-post
- Handling results from data hooked into admin_post
- What is the real intention for admin-post.php?
- What is the recommended way to create plugin administration forms?
- Using AJAX in a plugin to submit form – REALLY confused
- Post from front-end with post types, categories and taxonomies
- Front-End Form Submission in Shortcode
- Check spam in custom form – akismet
- Use a PHP file as action for a form in a WordPress plugin, what’s the correct way?
- Front-End Interfaces Without Shortcodes
- Best Practices for Creating and Handling Forms with Plugins?
- Plugin options page – form with two different submit buttons
- How to sanitize user input?
- WooCommerce registration password field not displaying
- wordpress plugin php file processing form
- How to add custom fields to the all users page
- Error on inserting a form value to database
- Multiple options pages validation for a plugin
- Form doesnt save to database
- Create custom HTML/JS app inside page
- Plugin Development for registered users
- Is there documentation reference for forms in menu and setting pages?
- Input in plugin widget does not allow spaces
- Avoid updating post when sending POST or GET request to post.php
- admin_post equivalent for guest user?
- How can I add a simple custom field to my plugin?
- Run JavaScript validation script on form submit in plugin
- I am unable to save my data from a form
- The Correct Way to Use Nonce Field without Settings API
- How to add search form in main page body?
- How to make and save custom form in custom plugin page?
- Catching Form Submission in WordPress Admin Panel
- Form using admin-post.php gives 404 after submission
- Submit form to a different PHP file in the same plugin folder
- A function that will remove HTML and tags from a string?
- Plugin Form Submitting to admin-ajax.php instead of admin-post.php
- Form submission to another page returning 404 error [duplicate]
- Lead form that submits to 2 external APIs
- WordPress: redirecting to the form page after form submission to admin-post.php
- How to create a custom post-new.php page for plugin , no wp menu
- Information and Page from WordPress Plugin
- Why is that only the first row getting inserted into Mysql table when i import csv file on backend custom plugin?
- Using AJAX to submit and return data inside the WordPress Plugin Boiler Plate framework
- Use admin-post to submit form data to external database
- How to Maintain url on form submit
- How to retrieve custom profile fields associated with different users
- Acessing WP functions in form submission handler
- Form and database, plugin development
- Can I use a hook other than ‘init’ to handle form submissions?
- wp_mail links are dead
- Best way to handle a form post in plugin
- Tracing dashboard publish settings from input form in WordPress
- Post data in wp-admin to external database
- Multi-part form and wp_redirect()
- Page reload occurs before request finishes
- Submitting a plugin form to database in admin page
- Hook a search form anywhere on the site, using a custom plugin
- Plugin forms overwrite each other’s options
- WordPress Plugin Development – Headers Already Sent Message
- Get page content using slug
- How to include wp-load.php from any location?
- How to disable plugin update notification for a specific plugin in Multisite
- Building a better media uploader for WordPress
- Problems with localization
- How to get current page id through the plugin
- How to restrict plugin’s sub-menu pages to admin/subscribers?
- Saving data from block editor to the database
- OOP Plugin and Menu – Call to undefined function register_setting()
- Will current_theme_supports return TRUE with a nonstandard add_theme_support?
- Display content from custom post without modifying the single template
- Loading WordPress Admin Environment
- how to add custom functionality after woocommerce place order button
- Problems with: manage_${post_type}_posts_columns
- Getting timestamp of activation plugin time
- Rich text editor settings persist throughout all rich text editors
- Function: Add link to / inside div
- How can I rewrite a URL to pass requests to a custom method via AJAX? (I can’t use admin-ajax.php)
- WP Gutenberg Blocks – How to limit first/root blocks
- How to Get Current Custom Post Type Associated Taxonomy Term
- Are there any official or unofficial guidelines for the styling of a widget?
- How to get error object returned by wp_create_user
- My WordPress Plugin code breaks customize.php viewpoint
- ajax working when function is on child theme but not in plugin page
- How to show comments from different Plugins to same post type?
- Proper way to do a page view count on a page?
- Catching a GET parameter from the URL and save it in the user meta when a user registers
- The plugin generated 683 characters of unexpected output during activation
- Dont display post with no content
- Custom User Role Preview Function Not Working
- Error when activating a custom plugin on production server
- How to show metabox just in post.php in admin?
- $wpdb how can i save my postmeta table before querying it
- Can’t switch theme after activation
- Using Nonce for my Form
- How do I replace title with my plugin?
- Checking if the query is empty does not work
- Remove default wordpress roles
- What is the meta_query key name for the woo product average rating? [closed]
- Why my admin-ajax url returns 0 even after adding echo and die() at the end of function?