new GW_Minimum_Characters( array(
'form_id' => 524,
'field_id' => 1,
'min_chars' => 5,
'max_chars' => 6,
'min_validation_message' => 5 ( 'Oops! You need to enter at least 7 characters.' ),
'max_validation_message' => 6 ( 'Oops! You can only enter 12 characters.' )
) );
When it it comes time to ask the question being validated, it just spins. Never goes to next question.
Here is a video showing what happens to the form after using the code snippet β Recording #3 - YouTube
Hi Carlos. First, you should install the code in only one place. The child theme functions.php is probably best, so it is not overwritten by an update to the parent. If the child theme is going to be updated as well, you will lose that code then. You can also use a plugin like this one to add code snippets to your site:
But, there is more code to add than what you shared here. That is the instantiation code. That enables you to configure the snippet for usage, or multiple uses. You also need this code: