|
@@ -87,7 +87,7 @@
|
87
|
87
|
</div>
|
88
|
88
|
<div class="form-group form_validation maximum_form ">
|
89
|
89
|
{{ Form::label('maximum_score', 'Maximum Score') }}
|
90
|
|
- {{ Form::text('maximum_score', '1', ['class' => 'form-control', 'id' => 'maximum_score', 'oninput' => 'addOptions("Num_scale", "maximum_score", "Scales")']) }}
|
|
90
|
+ {{ Form::text('maximum_score', '8', ['class' => 'form-control', 'id' => 'maximum_score', 'oninput' => 'addOptions("Num_scale", "maximum_score", "Scales")']) }}
|
91
|
91
|
</div>
|
92
|
92
|
<div class="form-group form_validation number_of_scales">
|
93
|
93
|
{{ Form::label('scales', 'Number of Scales') }}
|
|
@@ -292,8 +292,12 @@
|
292
|
292
|
var outcomeString = 'OutcomeGroup_';
|
293
|
293
|
|
294
|
294
|
$(document).ready(function() {
|
|
295
|
+
|
295
|
296
|
addOptions('Num_scale', 'maximum_score', 'Scales');
|
|
297
|
+ $('#Num_scale').val('4');
|
296
|
298
|
numberOfScales('Num_scale', 'Scales');
|
|
299
|
+
|
|
300
|
+ $('.selectpicker').selectpicker('refresh');
|
297
|
301
|
});
|
298
|
302
|
|
299
|
303
|
//Input Validation function to client side
|