Page 1 of 1
Help Manual for a specific Question
Posted: March 21st, 2025, 12:06 pm
by samuelhaniel
Dear all,
I would like to display a detailed information for that specific question. For example when the interviewer is asking about age, when i tab F1 or help on cspro capi, detailed info pops up about that particular question. How you i go about it?
Thank you,
Samuel
Re: Help Manual for a specific Question
Posted: March 23rd, 2025, 2:16 pm
by samuelhaniel
Incorporating it with Multi-Language Support – Automatically displays the correct help text when switching languages when pressing help
Re: Help Manual for a specific Question
Posted: March 26th, 2025, 10:55 am
by Gregory Martin
Are you wanting to add help text that is different from the question text? If so, this is a feature that exists:
https://www.csprousers.org/help/CSPro/c ... tures.html
Help text: A help shortcut (F2 on desktop or the ? button on mobile) can bring up customized help information for each field.
Multiple languages are supported for both question and help text.
Re: Help Manual for a specific Question
Posted: March 29th, 2025, 3:08 pm
by samuelhaniel
Thanks Gregory,
Where do i write those help text and how can i invoke the text using logic?
Re: Help Manual for a specific Question
Posted: March 31st, 2025, 9:09 am
by Gregory Martin
To learn more about question text, I suggest that you look at the workshop materials, specifically the CAPI Features section:
https://csprousers.org/mobile-workshop/05-capi.html
Note that the workshop materials are a bit old and fills now use ~~ instead of %. For example, where it says:
Est-ce que %NAME% est masculin ou feminin?
With the latest versions of CSPro, it should be:
Est-ce que ~~NAME~~ est masculin ou feminin?
Re: Help Manual for a specific Question
Posted: March 31st, 2025, 12:15 pm
by samuelhaniel
Thanks,
I know to use question text with Instructions in cspro. I am saying How do you put some additional(from Interviewer's manual) a little bit details about the specific question. Do i need to add as a separate language say Help_manual in the capi language. when interviewers want to read some info about the specific question, they just change the language to Help_manual...is it? Is there a better way using onkey...
Thanks,
Samuel
Re: Help Manual for a specific Question
Posted: April 21st, 2025, 9:43 am
by Gregory Martin
I'm personally still confused about what you're trying to do. You mention using OnKey, but the default "help text" functionality already basically handles this, though linked to the F2 shortcut. If you want to connect this with F1 instead (as you mentioned in the initial post), you can remap the keystroke:
function OnKey(keystroke)
recode keystroke -> OnKey;
112 -> 113; // map F1 -> F2 to bring up the help entry
-> keystroke; // keep every other keystroke the same
endrecode;
end;