Explanation: Currently, with fill-in-the-blank questions in LearnDash - the user has to input the EXACT same string to get the points for that question. Even 1 character difference disqualifies the answer (to note - the instructor can set multiple allowable answers for each fill-in-the-blank).
What needed to be done is to allow a difference of a number of charcters between the students answer and the predefined answer.
How to implement: 1. In the backend (quiz editor) - for each fill-in-the-question in the backend, add a field so the instructor could choose how many character differences would be tolerated (default = 0). 2. Save this number and associate it with the specific question (You could probably be able to just add a field to the question in the quiz question table of learndash in wordpress and no custom table will be needed). 3. Intercept the learndash quiz scoring calculation process after quiz is submitted and change the way fill-in-the-blank questions are checked. Implement a Levenshtein-based approximate string matching using the number of characters allowed to mismatch for that question.
Important notes: 1. Each fill-in-the-blank could have several pre-defined answers - the Levenshtein-based approximate string matching should be applied when checking each of them. 2. From what I gather, there is no relevant hook in LearnDash to intercept the quiz scoring calculation process. The relevant code should be written in a way that it will be easily adjustable in the future if LearnDash decides to change the scoring claculation process.
Storm Fence Repair PPC Setup Category: Conversion Rate Optimization, Google Ads, Google Adwords, PPC Marketing, SEO Budget: $30 - $250 USD
17-Dec-2025 17:02 GMT
SAP B1 Test Environment & Expert Category: Data Management, Data Processing, Database Management, Database Programming, Financial Analysis, Python, SAP, Software Architecture, Technical Support Budget: $15 - $25 USD
17-Dec-2025 16:59 GMT
Flutter Real-Time Route Mapping Category: API Integration, Flutter, JavaScript, Mobile App Development, Mobile Development, REST API Budget: ₹12500 - ₹37500 INR
17-Dec-2025 16:59 GMT
Bulk Email Sender Apps Category: .NET, API Development, Django, Electron JS, JavaScript, Node.js, Python, RESTful API, SMTP, Web Development Budget: $30 - $250 USD
17-Dec-2025 16:58 GMT
feedback sobre analises feitas por IA Category: Data Analysis, Data Analytics, Data Management, Data Visualization, Financial Analysis, Human Resources, Power BI, Usability Testing, User Experience Research Budget: $10 - $30 USD
17-Dec-2025 16:57 GMT
Striking App Home Headlines Category: Branding, Content Strategy, Content Writing, Copywriting, Creative Writing, Marketing Strategy, Social Media Marketing, User Experience Research Budget: $30 - $250 USD
17-Dec-2025 16:57 GMT
Travel Agency Website Development Category: Backend Development, Frontend Development, HTML, Node.js, PHP, React.js Framework, UI / User Interface, Web Development, Web Design Budget: ₹1250 - ₹2500 INR
17-Dec-2025 16:57 GMT
12V Feed Control App Category: Android, App Development, Bluetooth Low Energy (BLE), IOS Development, IPhone, Mobile App Development, Mobile Development, User Interface / IA Budget: $750 - $1500 USD