diff --git a/application/views/contesting/index.php b/application/views/contesting/index.php
index 2b482085..491a6966 100644
--- a/application/views/contesting/index.php
+++ b/application/views/contesting/index.php
@@ -8,19 +8,17 @@
diff --git a/assets/js/sections/contesting.js b/assets/js/sections/contesting.js
index cf1b6090..0eef65e8 100644
--- a/assets/js/sections/contesting.js
+++ b/assets/js/sections/contesting.js
@@ -9,10 +9,10 @@ $( document ).ready(function() {
setRst($("#mode").val());
// Check to see what serial type is selected and set validation
- if($('#serial').is(':checked')) {
+ if($('#serial').is(':checked')) {
set_serial_number_input_validation();
}
- if($('#other').is(':checked')) {
+ if($('#other').is(':checked')) {
set_other_input_validation();
}
});
@@ -181,18 +181,37 @@ $('#band').change(function() {
// Change Serial Validation when selected
$('#serial').change(function() {
- if($('#serial').is(':checked')) {
+ if($('#serial').is(':checked')) {
set_serial_number_input_validation();
}
});
// Change other serial type when selected
$('#other').change(function() {
- if($('#other').is(':checked')) {
+ if($('#other').is(':checked')) {
set_other_input_validation();
}
});
+$('#exchangetype').change(function(){
+ var exchangetype = $("#exchangetype option:selected").text();
+ if (exchangetype == 'None') {
+
+ }
+ if (exchangetype == 'Serial') {
+
+ }
+ if (exchangetype == 'Serialexchange') {
+
+ }
+ if (exchangetype == 'Serialgridsquare') {
+
+ }
+ if (exchangetype == 'Gridsquare') {
+
+ }
+});
+
/*
Function: set_serial_number_input_validation
Job: This sets the field input to number for validation
@@ -209,4 +228,4 @@ function set_serial_number_input_validation() {
function set_other_input_validation() {
$('#exch_sent').attr('type', 'text');
$('#exch_recv').attr('type', 'text');
-}
\ No newline at end of file
+}