I'm working on creating a "configurator".
A user will enter the number of configurations they want which will hold 3 input fields in each set.
If the user wants 5 configurations and clicks create. The "configurator" will create 5 different sets of input fields with each set having 3 input fields.
However, i would like to display each configuration one at a time.
After the user enters the number of configurations they desired. It should show the first set then ask if they would like to move onto the next and so on.
Please see my current code: http://jsfiddle.net/jdarville/wsyzd1bu/
<div class='row' id="inputcontainer">
<div class="form-group clearfix t" >
<div class="col-md-2 col-md-offset-2">
<div class="form-text-field first-name">
<label>First name</label>
<input type="text" id="firstName10" class="signup-input" name="" placeholder="">
</div>
</div>
<div class="col-md-2">
<div class="form-text-field last-name">
<label>Last name</label>
<input type="text" id="lastName0" class="signup-input" name="" placeholder="optional">
</div>
</div>
<div class="col-md-4">
<div class="form-text-field email">
<div>
<label>Email</label>
<input type="text" data-index="0" id="inputMail0" class="signup-input text-value add" name="email[0]" placeholder=""/>
<span class="common-sprite disNone sign-up-cross first"></span>
</div>
</div>
</div>
</div>
</div>
<button type="button" id="more" name="more">Create More</button>
<script>
$("#more").click(".add",function(){
$("#inputcontainer").append("<br />");
$("#inputcontainer").append("First Name <input type='text' class='signup-input' name='' placeholder='' /><br />");
$("#inputcontainer").append("last Name <input type='text' class='signup-input' name='' placeholder='optional' /><br />");
$("#inputcontainer").append("Email Address <input type='text' data-index='0' class='signup-input text-value add' name='email[0]' placeholder='' /><br />");
})</button>
</script>
The current code only creates the 3 input fields with a button click but as i described above, i would like the user to first enter the number of desired configurations then display each set one at a time.