Undefined index message
-
Hi,
I have just updated to version 1.2.1 of the plugin. It works great except I get the following two messages at the top of each page:
Notice: Undefined index: version in /Users/adamboother/workspace/isis/src/wp-content/plugins/validated-field-for-acf/validated_field_v4.php on line 683
Notice: Undefined index: version in /Users/adamboother/workspace/isis/src/wp-content/plugins/validated-field-for-acf/validated_field_v4.php on line 684
I have also noticed my custom message does not show in the red bubble which appears when you fail validation. E.g. I have the following validation:
<?php if(strlen($value) < 10) { $message = "Test alert"; return false; } else { return true; }
but my custom message of ‘Test alert’ does not show when I enter less than 10 characters in the field, instead I just get an empty small red bubble.
Cheers.
- The topic ‘Undefined index message’ is closed to new replies.