The LimeSurvey Fund-Raiser 2012 is complete. Thank you for donating a total of 25,000 USD!     List of donors »

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Setting conditional mandatory option

Setting conditional mandatory option 2 years 2 months ago #57580

  • paulfiner
  • paulfiner's Avatar
  • OFFLINE
  • Expert Lime
  • Posts: 81
  • Thank you received: 1
  • Karma: 1
Hi, I have a question designed that currently looks like this:





At the moment the mandatory option is turned off as respondents don't have to complete all 6 groups. The top part is an array of texts and the bottom part is an array of numbers shown as checkboxes. What I want to do is check if any of the checkboxes have been filled in in Group 1 and if the textbox for Group 1 is empty then put up an alert to the user. This would then need to check the other columns 2 to 6 in the same way.

I realise this can only be achieved using Javascript but don't know where to start.
I could also do with trying to space out the columns in the second part to try an match the text boxes but I couldn't seem to adjust these using css either!

Any help would be greatly appreciated.

Cheers

Paul
Last Edit: 2 years 2 months ago by paulfiner.
The administrator has disabled public write access.
  • Page:
  • 1
Moderators: DenisChenu, ITEd
Time to create page: 0.149 seconds
Donation Image