Run on Ajax requests

The “Run on Ajax requests” functionality in the InputWP plugin enables you to control whether the date picker should function on pages that undergo Ajax requests. This feature is particularly useful if your date picker is displayed only after an Ajax request or if you have dynamic content updates on your page that require the date picker to be functional.

How to use

  1. Accessing the Feature:
    • Log in to your WordPress admin panel.
    • Navigate to “InputWP” in the left-hand menu.
    • Click on “Settings.”
    • Go to the “General” section.
  2. Enabling Run on Ajax Requests: On the “General” settings page, you will find a toggle switch button. Enable the toggle switch button if you want the date picker to run on pages that undergo Ajax requests.
    • Usage Consideration: Keep in mind that enabling this option might reset the date picker every time an Ajax request is made on the page.
  3. Saving Changes: After toggling the “Run on Ajax requests” option, click on the “Save” button to save the changes you’ve made, including the run on Ajax requests setting.

Benefits of Using Run on Ajax Requests

  • Dynamic Content Compatibility: This feature ensures that the date picker functions correctly and displays as expected on pages that utilize Ajax requests for content updates.
  • Enhanced User Experience: By enabling the date picker to run seamlessly on Ajax-loaded content, you provide a consistent and smooth user experience.

Using the “Run on Ajax requests” feature, you can ensure that the date picker remains functional even when your page content is updated dynamically through Ajax requests.

If you have more questions, use the public forum (for the Basic plugin), or submit your support ticket (for PRO users).