Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Visual feedback for the participants

  • ayu4ger
  • ayu4ger's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 10 months ago - 9 years 10 months ago #108497 by ayu4ger
Visual feedback for the participants was created by ayu4ger
Hello,

I try to find a solution for the following problem,
in my experiment it is required to give the user some feedback durring the filling of the blanks.
I searched all over the Internet to find a solution. My idea now is, that I build a very easy bar chart in HTML which is linked to the users entries. This is where the problems are starting, does anyone know a way how to use a user input as a value for html(for example: width = (user_value_here))?

Thank you for reading I appreciate any hints on this topic!
Last edit: 9 years 10 months ago by ayu4ger.
The topic has been locked.
  • ayu4ger
  • ayu4ger's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 10 months ago #108501 by ayu4ger
Replied by ayu4ger on topic Visual feedback for the participants
Please close this post, I found a solution.

FYI:

<fieldset>
<legend>Wert </legend><br />
<br />
<div class="progress-container" style="width: 300px;">
<div style="width: {INSERTANS:User_data_here}%; background: orange;">
&nbsp;</div>
</div>
</fieldset>

creates a colorfull bar with the width which is linked to a user entry in percent.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose