Oh I just noticed that it's not working in safari and firefox. It's only working in chrome.
And it's also not working with the CRED edit form of the post.
Minesh
Supporter
Languages:
English (English )
Timezone:
Asia/Kolkata (GMT+05:30)
Could you please send me duplicator package of your site.
=> https://toolset.com/faq/provide-supporters-copy-site/
I have set the next reply to private which means only you and I have access to it.
Minesh
Supporter
Languages:
English (English )
Timezone:
Asia/Kolkata (GMT+05:30)
I'm able to fix the issue with Chrome but we are investigating for FF and safari browser.
Could you please check now that with Chrome its working as expected. I've changed the code for CRED form as given under:
jQuery(document).ready(function($){
jQuery(document).on( 'cred_form_ready', function() {
$("input[name='wpcf-artist-1']").limiter(10, 'wpcf-artist-1');
});
});
Hello Minesh. Yes it works very nice on CRED edit forms too now.
This did the trick :
jQuery(document).on( 'cred_form_ready', function() {
});
Looking forward to find out why it's not working in FF and safari browsers.
I have to overhaul a lot of js which I used with CRED forms. A lot of the js didn't work anymore after the update last month.
Regards,
Nicholas
Minesh
Supporter
Languages:
English (English )
Timezone:
Asia/Kolkata (GMT+05:30)
Hello Nicholas,
I've changed the JS code as given under and now it works with Firefox as well.
jQuery(document).on( 'cred_form_ready', function() {
jQuery("input[name='wpcf-artist-1']").limiter(10, 'wpcf-artist-1');
});
Could you please check and confirm.
Very nice! Thank you Minesh.
I have one more question for you:
Is there a way to set the min character count?
So for example if the post_excerpt field has less than 30 characters the post can't be saved.
Regards,
Nicholas
I just noticed. It's not working on mobile for some reason.
Edit: It's working on mobile
Minesh
Supporter
Languages:
English (English )
Timezone:
Asia/Kolkata (GMT+05:30)
Thanks and glad to know that it works on all browser and mobile.
May I kindly ask you to open a new ticket for your each new question. This will help other users searching on the forum. Thank you for understanding.
Thank you Minesh. You were a great help.