Changeset 3151295
- Timestamp:
- 09/13/2024 09:50:54 AM (19 months ago)
- Location:
- simple-accessible-forms
- Files:
-
- 11 added
- 3 edited
-
tags/1.0.11 (added)
-
tags/1.0.11/LICENSE (added)
-
tags/1.0.11/publicstyles.css (added)
-
tags/1.0.11/readme.txt (added)
-
tags/1.0.11/scripts (added)
-
tags/1.0.11/scripts/jquery_form_validation.js (added)
-
tags/1.0.11/scripts/public-scripts.js (added)
-
tags/1.0.11/scripts/scripts.js (added)
-
tags/1.0.11/settings.php (added)
-
tags/1.0.11/simple-accessible-forms.php (added)
-
tags/1.0.11/style.css (added)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/scripts/jquery_form_validation.js (modified) (1 diff)
-
trunk/simple-accessible-forms.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
simple-accessible-forms/trunk/readme.txt
r3143542 r3151295 8 8 License: GPLv3 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-3.0.html 10 Stable tag: 1.0.1 010 Stable tag: 1.0.11 11 11 12 12 == Description == … … 55 55 56 56 == Changelog == 57 = 1.0.11 = 58 1. added automatic correction of empty option tags 59 1. corrected undefined array key error when loading form builder 60 57 61 = 1.0.10 = 58 62 1. corrected validation issue on multiselect dropdowns -
simple-accessible-forms/trunk/scripts/jquery_form_validation.js
r3143542 r3151295 115 115 } 116 116 } 117 }); 118 119 120 // correct empty option tags 121 jQuery('form[id='+jquery_form_validation_form_name+'] select option').each(function() { 122 console.log(jQuery(this).text()); 123 if(jQuery(this).text() === '') jQuery(this).text('Select an Option'); 124 117 125 }); 118 126 }, 400); -
simple-accessible-forms/trunk/simple-accessible-forms.php
r3143542 r3151295 4 4 * Plugin URI: https://wordpress.org/plugins/simple-accessible-forms/ 5 5 * Description: Easily make any html form accessible using the Simple Accessible Forms Plugin. The Simple Accessible Forms Plugin allows you to define form field validation information which will be used to add the necessary features to make the form accessible. It will add form field labels, required field markings, add form field validation and display screen reader friendly error message when a user navigates away from a field, moves focus to the first field in error in the event of a form submission failure. 6 * Version: 1.0.1 06 * Version: 1.0.11 7 7 * Author: AlumniOnline Web Services LLC 8 8 * Author URI: https://www.alumnionlineservices.com/php-scripts/simple-accessible-forms/ … … 180 180 ?> 181 181 </form> 182 <?php183 if ( ! isset( $_REQUEST['_wpnonce'] ) &&wp_verify_nonce( sanitize_key( $_REQUEST['_wpnonce'] ) ) ) {182 <?php 183 if ( ! isset( $_REQUEST['_wpnonce'] ) || wp_verify_nonce( sanitize_key( $_REQUEST['_wpnonce'] ) ) ) { 184 184 echo '</div>'; 185 185 } … … 909 909 if ( '' !== $row['formid'] && '' !== $row['formurl'] ) { 910 910 $path = parse_url( $row['formurl'], PHP_URL_PATH ); 911 911 912 912 if ( strstr( $serveruri, $path ) ) { 913 913 echo " ['" . esc_attr( $row['formid'] ) . "', '" . esc_attr( $row['formnicename'] ) . "',";
Note: See TracChangeset
for help on using the changeset viewer.