For this module to function correctly, lessons must be associated with a course, and topics must be associated with both a lesson and a course.
The Autocomplete Lessons & Topics on WPForms Submission module is part of the Pro Suite of modules for the Uncanny LearnDash Toolkit. It lets you control whether or not to automatically mark a lesson or topic complete when a user submits a form from WPForms on that page.
When this module is enabled and the autocompletion option is checked in Form Settings, you will see the WPForms submit button rather than the standard Mark Complete button on a lesson/topic. After submitting the form, the lesson/topic will be automatically marked as complete.
Auto Advance On Submit
If you would like the user to be automatically advanced to the next topic or lesson after submitting the form, do not enable AJAX form submission (if using a shortcode, set the parameter ajax=false) and disable any redirect on submission in the form’s confirmation settings. Note: If the form is embedded in the last topic of a lesson, they will be returned to the lesson for that topic, not moved to the next lesson.
Behavior of a Previously Submitted Form
If your form appears on multiple pages, lessons or topics and the user has already submitted it once, you can decide whether or not to allow the user to skip submitting the form again by toggling the module setting Hide the Mark Complete button if the user has a previous entry. If you’re using a single form in multiple places (such as an end-of-course feedback form) and want the user to submit it every time, you can check that setting to require the user to submit it again even if they already have a previous entry saved for that form.
When the module is enabled, you’ll see a new option in the Settings for the form under the General tab. Check the Enable LearnDash Lesson/Topic Autocompletion to have the associated form control whether or not a lesson or topic is automatically completed when this form is submitted on a page.
When Used with Other Autocompletion Modules
There are several Pro Toolkit modules that control lesson/topic autocompletion. You should be aware what the combined results are when more than one is enabled.
The Autocomplete Lessons & Topics module, when enabled, marks a lesson/topic complete on page load. If you have a form that requires users’ input, you may want to disable autocompletion on that lesson/topic.