{
trial.max +
'" step="' +
trial.step +
- '" id="jspsych-html-slider-response-response">';
+ '" id="jspsych-html-slider-response-response"> ';
+ if (trial.value_display) {
+ html += 'oninput="this.nextElementSibling.value = this.value">';
+ html += "";
+ } else {
+ html += ">";
+ }
html += "";
for (var j = 0; j < trial.labels.length; j++) {
var label_width_perc = 100 / (trial.labels.length - 1);