Skip to content

Commit

Permalink
Update register-alt.html
Browse files Browse the repository at this point in the history
  • Loading branch information
BrigitteRicher authored Dec 13, 2024
1 parent 1f5c896 commit e88291a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions gsthst/register-alt.html
Original file line number Diff line number Diff line change
Expand Up @@ -439,9 +439,9 @@ <h3 class="mrgn-tp-md">Answer a few questions to find out if you have to registe
document.getElementById('R'+i).classList.add('hidden');
var q6 = document.getElementsByName('q6');
var q2 = document.getElementById('q2').value;
var q3 = document.getElementById('q3').value;
if (q2 == 0) {
if (q3 == 0) {
if (q6[0].checked) {
document.getElementById('R3').classList.remove('hidden');
}
Expand Down Expand Up @@ -760,7 +760,7 @@ <h3 class="mrgn-tp-md">Answer a few questions to find out if you have to registe
<br>
<div class="row mrgn-bttm-sm">
<label class="col-md-6 col-sm-7 mrgn-tp-sm text-right hidden-xs" for="quarter1_Old" name="q12_date_Old" id="q12_date0_Old"></label>
<label class="col-xs-12 mrgn-tp-sm text-center visible-xs" name="q12_date_Oldxs">Q1 </label>
<label class="col-xs-12 mrgn-tp-sm text-center visible-xs" name="q12_date_Oldxs"> </label>
<div class="col-lg-3 col-sm-4 col-xs-12">
<div class="input-group">
<span class="input-group-addon">$</span>
Expand All @@ -783,7 +783,7 @@ <h3 class="mrgn-tp-md">Answer a few questions to find out if you have to registe
</div>
</div>
<div class="row mrgn-bttm-sm">
<label class="col-md-6 col-sm-7 mrgn-tp-sm text-right hidden-xs" for="quarter3_Old" name="q12_date_Old" id="q12_date2_Old">Q2</label>
<label class="col-md-6 col-sm-7 mrgn-tp-sm text-right hidden-xs" for="quarter3_Old" name="q12_date_Old" id="q12_date2_Old"></label>
<label class="col-xs-12 mrgn-tp-sm text-center visible-xs" name="q12_date_Oldxs"></label>
<div class="col-lg-3 col-sm-4 col-xs-12">
<div class="input-group">
Expand Down Expand Up @@ -1024,7 +1024,7 @@ <h3 class="mrgn-tp-md">Answer a few questions to find out if you have to registe
<input class="hidden" id="showFields" type="button" onclick="
var q4 = document.getElementsByName('q4');
var q2 = document.getElementById('q2').value;
var q3 = document.getElementById('q3').value;
var age = document.getElementById('age').value ;
var results = getElementsByName('results');
Expand All @@ -1037,7 +1037,7 @@ <h3 class="mrgn-tp-md">Answer a few questions to find out if you have to registe
//How many quarters depending if new business or not
if (q2 == 0) {
if (q3 == 0) {
document.getElementById('question12').classList.remove('hidden');
document.getElementById('numOfQuarters').value = 4 ;
}
Expand Down Expand Up @@ -1077,7 +1077,7 @@ <h3 class="mrgn-tp-md">Answer a few questions to find out if you have to registe
var year = [];
for (i=0; i<dates.length; i++) {
period[i] = Math.ceil(currentMonth/3) -1 + i ;
if (q2 == 0)
if (q3 == 0)
year[i]=currentYear;
else
year[i]=currentYear-2
Expand Down

0 comments on commit e88291a

Please sign in to comment.