<commit_before>h1. jQuery Placeholdr

Extended from a pre-existing plugin of the same name, this plugin provides support for placeholder text, and validation.

Original author: <NAME> (http://www.porkcullis.com/)

h2. Options

text: null,
		reset: true,
		class: "placeholdr",
		// Soft validation, checks if value is provided
		required: true,
		// Hard validation, runs the value through this
		validate: null

*text* (default: "Please enter...")
Type: String
Default placeholder text. The order of placeholder text is: option defined > value defined > "Please enter..."

*reset* (default: true)
Type: Boolean
Adds a check to the containing forms onSubmit event and empties the field if it still contains the placeholder text.

*class* (default: "placeholdr")
Type: String
The class name applied to the element when the placeholder is visible.

*required* (default: true)
Type: Boolean
Checks if field is empty and adds a "required" class to it if so.

*validate* (default: null)
Type: Function<commit_msg>Slight update to the previous amend.<commit_after>h1. jQuery Placeholdr

Extended from a pre-existing plugin of the same name, this plugin provides support for placeholder text, and validation.

Original author: <NAME> (http://www.porkcullis.com/)

h2. Options

*text* (default: "Please enter...")
Type: String
Default placeholder text. The order of placeholder text is: option defined > value defined > "Please enter..."

*reset* (default: true)
Type: Boolean
Adds a check to the containing forms onSubmit event and empties the field if it still contains the placeholder text.

*class* (default: "placeholdr")
Type: String
The class name applied to the element when the placeholder is visible.

*required* (default: true)
Type: Boolean
Checks if field is empty and adds a "required" class to it if so.

*validate* (default: null)
Type: Function
{'fraction_non_alphanumeric': 0.08634646519158122, 'fraction_numerical': 0.0021586616297895305, 'mean_word_length': 4.550898203592815, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2827537', 'n_tokens_mistral': 516, 'n_tokens_neox': 506, 'n_words': 256}