I have the following code. I'm trying to get it when the user clicks on "add another sport" that the kpsport1 will increment to 2, 3, 4, etc depending on how many times the user clicks.
In addition, when they choose a sport, I'd like the "CHOOSE YOUR SPORT" (formSectionHeader) to be replaced with the sport they choose. Having major problems getting this to work despite days of working on the JS portion. Appreciate any insight! Thank you so much!!
<div id="copy">
<div id="personalInfo">
<h1>Sporting Experience</h1>
<form action="" name="signUp-pg1" id="signUp-pg1">
<div class="singleSportWrap">
<h2 class="formSectionHeader"><strong>CHOOSE YOUR SPORT</strong> <span>you can add another sport later.</span></h2>
<div class="singleSport">
<div id="KPspecialityPosition" class="formSection">
<div id="sportSelectField" class="selectStyled">
<select class="longField styled KPsportSelecter" name="KPsport1" id="KPsport1">
<option value="default">Sport</option>
<option value="basketball">Basketball</option>
<option value="soccer">Soccer</option>
<option value="football">Football</option>
<option value="baseball">Baseball</option>
<option value="hockey">Hockey</option>
</select>
<div class="checkboxInput"><input type="checkbox" name="primarySport" value="primarySport"><span>This my primary sport</span></div>
</div><!-- //selectStyled -->
</div><!-- //formSection -->
</div><!-- //singleSport -->
</div><!-- //singleSportWrap -->
<p id="addAnotherSport" class="addMoreBtn">Add Another Sport</p>
<div id="formStepControls">
<a id="saveForm">Save for Later</a>
<a href="sign-up-3.php" id="proceedForm">Proceed to Vouching</a>
</div><!-- //formStepControls -->
</form>
</div><!-- personal info -->
</div><!-- copy -->