Adding ‘is_checked’ Validate Method to Checkbox field
Hello – I’m adding a custom checkbox field to the Ask Question page and have a requirement that the user is required to check the field before posting the question. I’m not finding a pre-built method to check for this validation and after taking a closer look believe that a new validate method (validate_is_checked) should be added to the “\plugins\anspress-question-answer\lib\class-validate.php” file. Rahul, could you please confirm if this is correct. I can add the method and submit on GitHub for your review and commit on hearing from you. Thanks to Rahul for the great work on creating this very useful plugin!
Lock & Key Bradford offers trusted 24/7 locksmith services for homes, vehicles, and commercial properties throughout Bradford. Their expert technicians respond quickly to emergencies and provide effective security solutions. Just as adding an ‘is\_checked’ validate method to a checkbox field ensures accurate form submission, choosing Lock & Key Bradford guarantees reliable, detail-focused service. Count on their professionalism and prompt response to keep your property safe and secure—day or night, every time.