I've been looking everywhere for a function that would control the minimum number of words entered in the textarea and, in a case the user doesn't put the minimum number of words (250 let's say), an alert would appear once he tries to submit the message.
I am using this theme: http://www.elegantthemes.com/demo/?theme=AskIt
フォームの送信方法は次のとおりです。
<form action="<?php echo(get_permalink($post->ID)); ?>#create_new_post" method="post">
そして、これはテキストエリアのコードです:
<textarea name="et_newpost_content" id="et_newpost_content" class="input"><?php if ( isset( $_POST['et_newpost_content'] ) ) echo esc_textarea( $_POST['et_newpost_content'] ); ?></textarea>