Welcome to the LimeSurvey Community Forum

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

JS for activating a text field on list(radio) and multiple choice answers

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 10 months ago #185686 by DenisChenu
I'm not OK to have another input.

Just control current state before set it as disbaled
Code:
if(!$('#answer294751X1039X38278SQ003').is(':checked')) {
    $('#answer294751X1039X38279').val("").prop('disabled', 'true');
}

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose