--------------------------------------------------------------------------------------------------------------- - - DsForm Changelog: - --------------------------------------------------------------------------------------------------------------- ECRS: 1) Add support for multiple forms on page with reCAPTCHA. Will involve needing to name the v2 and v3 using the form ID (multiple forms on a page would have unique IDs). The hidden response fields should also prepend the form IDs to ensure they're unique so jQuery updates the correct field. Things to remember to change: - V3 action - g-recaptcha-v3-response - V2 callback used in grecaptcha.render('g-recaptcha', { 'sitekey' : '%s' }); Note: this is only used when V2 and V3 are on at the same time - V2 callback used in the data attribute Note: this is only used for V2 (not V3) - Search other magic strings for opportunities to make them unique based on form ID --------------------------------------------------------------------------------------------------------------- 1.13.01 10-24-22 TML 1) BUG FIX: When a field group watches another field looking for a string with a single quote, failure to escape caused JS errors breaking the entire form. UPGRADING FROM PREVIOUS VERSION: No concerns --------------------------------------------------------------------------------------------------------------- 1.13.00 08-03-22 TML 1) NEW: Implemented Google reCAPTCHA v3 while keeping and refactoring v2. You may use them independently or use both at the same time by calling the two new methods: AddReCaptchaV2() and AddReCaptchaV3(). For v3 you may specify a custom score threshold and you may disable debugging if debug@digisage.com should not receive debugging emails for submissions that do not meet the required score. Also, for sites with a global include using reCAPTCHA v3, on all pages that do NOT use DsForm the following static function should be called inside the HEAD tag or in the footer: DsForm::OutputReCaptchaV3Tracker(). This outputs the reCAPTCHA api.js script helping train the invisible CAPTCHA on user habits. If the second argument is set to hide the badge, it will also output a