This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Configure message and ID | |
*/ | |
var error_message_custom = "___YOUR MESSAGE_HERE_____"; //Your custom error message | |
var current_field_id = 1; // Your Field ID | |
/** | |
* Script to envoke Real Time Validation to maintain error state | |
*/ | |
all_validations[current_field_id].message = error_message_custom; | |
all_validations[current_field_id].validationFailed = true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |