Many thanks Gregory for your logic for multiple response. I have tried it it did work now.
regards,
kedar
Multiple choice question
Re: Multiple choice question
Hi, I've tried to create the Maternal roster/grid in a new form or delete it from original and recreate it. I cannot figure out how this grid was created. Maybe directly in .fmf ? Thanks.Adnane wrote:Here is an example where you can learn from it.
Re: Multiple choice question
Thanks for your reply, but the example link is missing;
-
- Posts: 4
- Joined: August 23rd, 2017, 5:24 pm
Re: Multiple choice question
Plz can anyone guide me on how to make None to be exclusive in a multiple response value set?
Re: Multiple choice question
There are many ways to address this either as a function or as logic on the variable. Below is a demo as a function for your perusal
So if your multiple response/choice variable is VariableA this is how to invoke the function:
Code: Select all
function noneCheck(String XNone, string char)
numeric response= length(strip(XNone));
if response >1 and pos(char, XNone)then
errmsg("Cannot select None(X) with other options");
reenter;
endIf;
end;
Code: Select all
Postproc
noneCheck($,"X");