Removing error on keyup of textarea
-
In the frontend.js after line 140 there is code for removing error message on keyup on specific fields, but no textarea, so I added it manually:
$('.ap-form-wrapper input').keyup(function () { $(this).closest('.ap-form-field-wrapper').find('.ap-form-error-message').html(''); }); $('.ap-form-wrapper select').change(function () { $(this).closest('.ap-form-field-wrapper').find('.ap-form-error-message').html(''); }); $('.ap-form-wrapper input[type="file"]').change(function () { $(this).closest('.ap-form-field-wrapper').find('.ap-form-error-message').html(''); }); $('.ap-form-wrapper textarea').change(function () { $(this).closest('.ap-form-field-wrapper').find('.ap-form-error-message').html(''); });
Why don’t you put it on the next update.
https://www.ads-software.com/plugins/accesspress-anonymous-post/
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Removing error on keyup of textarea’ is closed to new replies.