Add the following JavaScript code to the Main Layout of the product. Replace XXXXX by the actual Block id
<script>$(document).ready(function(){
$('#InputXXXXX').keydown(function(e) {
if(e.keyCode == 13 && $(this).val().split("\n").length >= 15) {
//alert("Max of 15 lines allowed!");
return false;
}
});
});
</script>
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article