Welcome, Guest
Username: Password: Remember me

TOPIC: only one question should be answered in a question group

only one question should be answered in a question group 1 year 4 weeks ago #98610

  • trivender
  • trivender's Avatar
  • OFFLINE
  • Expert Lime
  • Posts: 142
  • Thank you received: 6
  • Karma: 6
I have display order group by group and I have two multi choice questions (D1 and D1Other) in a group .I want only one question must be answered. I have validation equation (((count(that.D1.NAOK)) >0) || ((count(that.D1Other.NAOK)) >0)) so that at least one of them should be answered .Can some one suggest how can I modify this equation so that only one question must be answered?
Trivender Singh
Survey Designer and Programmer
"I always suggest to have a group by group display layout and create a seprate group for each question. This will be extra work but you will get flexiblity to create your question by using more than more lime survey question types."
The administrator has disabled public write access.

only one question should be answered in a question group 1 year 4 weeks ago #98617

  • trivender
  • trivender's Avatar
  • OFFLINE
  • Expert Lime
  • Posts: 142
  • Thank you received: 6
  • Karma: 6
(((((count(that.D1.NAOK)) >0) || ((count(that.D1Other.NAOK)) >0))) && (!(((count(that.D1.NAOK)) >0) && ((count(that.D1Other.NAOK)) >0)))) should work fine:)
Trivender Singh
Survey Designer and Programmer
"I always suggest to have a group by group display layout and create a seprate group for each question. This will be extra work but you will get flexiblity to create your question by using more than more lime survey question types."
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.111 seconds
Donation Image