Skip to content

Commit d719ad0

Browse files
authored
Merge pull request #205 from MultinetInteractive/master
- chg: Removed client side validation of civic registration number.
2 parents 6f5d514 + 5fd5092 commit d719ad0

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

content/template/bookingTemplate/contact-view.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
<?php esc_html_e( 'Civic Registration Number', 'eduadmin-booking' ); ?>
4949
</div>
5050
<div class="inputHolder">
51-
<input type="text" id="edu-contactCivReg" class="eduadmin-civicRegNo" pattern="(\d{2,4})-?(\d{2,2})-?(\d{2,2})-?(\d{4,4})" <?php echo( 'CivicRegistrationNumber' === $selected_login_field ? 'required' : '' ); ?> name="contactCivReg" onchange="eduBookingView.ContactAsParticipant();" placeholder="<?php esc_attr_e( 'Civic Registration Number', 'eduadmin-booking' ); ?>" value="<?php echo @esc_attr( $contact->CivicRegistrationNumber ); ?>" />
51+
<input type="text" id="edu-contactCivReg" class="eduadmin-civicRegNo" <?php echo( 'CivicRegistrationNumber' === $selected_login_field ? 'required' : '' ); ?> name="contactCivReg" onchange="eduBookingView.ContactAsParticipant();" placeholder="<?php esc_attr_e( 'Civic Registration Number', 'eduadmin-booking' ); ?>" value="<?php echo @esc_attr( $contact->CivicRegistrationNumber ); ?>" />
5252
</div>
5353
</label>
5454
<?php } ?>

eduadmin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* Plugin URI: https://www.eduadmin.se
1010
* Description: EduAdmin plugin to allow visitors to book courses at your website
1111
* Tags: booking, participants, courses, events, eduadmin, lega online
12-
* Version: 2.0.23
12+
* Version: 2.0.24
1313
* GitHub Plugin URI: multinetinteractive/eduadmin-wordpress
1414
* GitHub Plugin URI: https://github.com/multinetinteractive/eduadmin-wordpress
1515
* Requires at least: 4.7

readme.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Contributors: mnchga
33
Tags: booking, participants, courses, events, eduadmin, lega online
44
Requires at least: 4.7
55
Tested up to: 4.9
6-
Stable tag: 2.0.23
6+
Stable tag: 2.0.24
77
Requires PHP: 5.2
88
License: GPL3
99
License-URI: https://www.gnu.org/licenses/gpl-3.0.en.html
@@ -37,6 +37,9 @@ If you notice that your API key doesn't work any more, you have to contact us.
3737

3838
== Changelog ==
3939

40+
### 2.0.24
41+
- removed: Removed client side validation of civic registration numbers.
42+
4043
### 2.0.23
4144
- add: Listview: Allow line breaks in HTML-code from course templates
4245

0 commit comments

Comments
 (0)