Welcome, Guest
Username: Password: Remember me

TOPIC: Place Check Button , beside answer Text input

Place Check Button , beside answer Text input 1 year 2 months ago #96333

  • king_and1
  • king_and1's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 29
  • Karma: 0
Unbenannt_2013-05-23.PNG



Hello , Do you know how to achieve this ?

If i put it in the answers div, the button will be shwon on every question , but i only want it on this question.

I´ve managed it with putting it in the question help text , but it would be nice to have this button right by the answer input.

Thanks
The administrator has disabled public write access.

Place Check Button , beside answer Text input 1 year 2 months ago #96340

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4050
  • Thank you received: 740
  • Karma: 341
Try this (assuming "53" is your question ID):
<script type="text/javascript" charset="utf-8">	
	$(document).ready(function() { 
 
		$('#question53 input[type="text"]').before('<input onclick="myCall()" type="button" value="Check" />');
 
	});
</script>
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.
The following user(s) said Thank You: king_and1
Moderators: ITEd
Time to create page: 0.147 seconds
Donation Image