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 & Official Partner
  • LimeSurvey Community Team & Official Partner
More
5 years 4 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 support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose