You question is not well explained, what you want to achieve, here is the suggestion,
you can add JS event ONClick into you submit button and define the JS function according to your goals, (for example you want to count submit button click)
<script type="text/javascript">
var clicks = 0;
function onClick() {
clicks += 1;
document.getElementById("clicks").innerHTML = clicks;
};
</script>
<form method="post" action="options.php">
.
.
.
<button type="button" onClick="onClick()">Submit</button>
<p>Clicks: <a id="clicks">0</a></p>
</form>
Related Posts:
- Woocommerce – adding variations to variations [closed]
- How to export comments in WordPress?
- Overriding Plugin Template Files with Child Theme
- Can YOAST SEO fields be removed from custom post type [duplicate]
- What causes the “Are you sure you want to do this?” error with plugins?
- Creating Unique Post URLs for A/B Testing… Is this even possible?
- Suggest a plugin for up/down voting posts [closed]
- How to disable Gutenberg editor?
- Can’t install local plugin (zip) with wp-cli [closed]
- Cropping, Re-sizing and Saving images from one folder to another folder in wordpress
- scheduled event not getting executed
- How can I limit functionality in one version of a plugin?
- WordPress A-Z Navigation
- __autoload in a plugin throws an error in WP – not able to locate translation_entry.class.php
- Any way to use a custom Parameter for youtube embed without using an iframe?
- How do I add a template to a theme using a plugin?
- How to Add TinyMCE’s plugin in wordpress?
- How to check if I am displaying categories on a Woocommerce page? [closed]
- Stop the form of beign submitted on “Save changes” custom option page
- Add a do_action to post_content of wp_insert_post
- AJAX image upload with a upload progress bar using media_handle_upload
- WordPress with Composer and different plugins for dev/live.
- Can I use the same textdomain in two separate plugins?
- Advanced Custom Fields
- How to create a plugin that notifies for updates?
- Problem in loading javascript in footer
- WordPress Social Login > Post to a users Facebook wall
- How to ‘clone’ a wp plugin to make small changes
- With W3 Total Cache when I publish a post it does not appear in the homepage. Only if i purge all cache [closed]
- How do_action funtion works with path parameter?
- Two (or more) looks, with one set of content
- include any plugin within other plugin or use other plugin within other
- Upgraded to latest version – 3.0.3 and Now I get a “sufficient permissions to access this page” error
- Enqueue WordPress plugin scripts below all other JS
- Any built-in function to associate a post to category through a plugin?
- Arrays not working in my add_options_page
- Is there any kind of theme on WordPress to sell my own movies?
- Making sure that a plugin’s scripts and stylesheets are included for dynamicaly loaded content
- Filtering WooCommerce Orders by Category
- JQuery plugin that works with Google 1.10.2 and not with WordPress 1.10.2
- How to redirect users to their profile after they successfully edit their profile
- How to change upload dir for custom plugin?
- Creating a CSV with PHP inside the plugin directory
- pagination on data fetched using SQL query
- How do I automatically generate pages from a database?
- WordPress plugin won’t show on some themes
- Is there a plugin for WordPress for creating ‘Accounts’ where all users who belong to that Account can only see Account data? [closed]
- wp_redirect doen’t work
- Send email with list of active plugins upon activation/deactivation
- How to save plugin custom settings page fields
- wp_insert_term() doesnt insert a term
- How limit user connection?
- Memory Management when developing plug-ins
- How can I list custom post type categories of portfolio
- How to include my Ajax calls in one function instead of calling different ones every time?
- How to add img into a plugin?
- How to log custom plugin error to debug.log file
- Using AJAX to run SQL statement and populate dropdown
- wp_footer hook running twice
- Strange admin-ajax / CSS / $_SESSION issue
- How to create admin setting for this small plugin
- How to create a form where you can select multiple recipients, based on a list of website users?
- Unpublished Pages Failing To Appear On Custom Path
- $wpdb->delete not working for me
- How to fix caching issue in PHP data from database
- WPForms Custom Redirect not working
- Lock content in WordPress website
- How do I allow a user to purchase an expiring passcode to access part of my website, from my online store, similar to pay-per-view?
- How to securely controlling data without keeping it in postmeta?
- Enqueue plugin for specific pages
- Why Custom fields description is not working WordPress Version 5.4.2?
- Get Current Post ID in WP Loop For GiveWP
- Does having apply_filters in the middle of an array make a difference?
- URL path image error in ACF (Advanced Custom Field) [closed]
- Problem Advanced Custom Fields PRO
- Unable to activate themes on localhost
- Soflyy WP All Import Custom File Download Issue
- Unmatch plugin from updates?
- Identify if the_post hook is being called from the admin post list
- why my wordpress dont have toolbar like, plugin, themes and other?
- Reorganization of namespaces
- Why can’t I shove an instance of a class into a variable from a do_action hook?
- Passing a parameter to filter and action functions
- Custom pages with plugin
- How to insert category name above post title in a featured pages plugin?
- Plugin Installation Error
- How to add submenu to WordPress plugin in the same Directory of main Plugin?
- Holding 2 wp_user in the same action (to update billing_email when user_email is updated)
- Strange get_the_* behavior with php 5.4
- How to set-up multiple cron task with wp_schedule_event so that they do not overlap?
- 404 Page when emptying spam or deleting a plugin
- File permissions for wp-minify plugin
- Ajax not working for logged in users
- How to validate password length in wordpress
- How to add a text in the checkout page woocomerce?
- How to filter plugin search results in wp-admin plugin search page
- How can I disable a plugin in Health Check mode if there’s a critical error?
- Automatically create WooCommerce products page by just uploading the images [closed]
- Multiple plugins settings of same developer into ONE settings page linked together
- all plug-ins load scripts on all pages