Customer wants to use multiple checkboxes and wants to display the same in PDF form or
Customer has a exit formality questionare and wants candidate to select Multiple options and same should get printed in PDF form also.
Reproducing the Issue
Customer has for eg 10 questions and candidate needs to select from that
Candidate selected more than 1 answer , same is not reflecting in pdf form
Configuration needs to be done
Configuration at Panel end :
1. You need to use one check box per question
2. define the Key
3. No need to add Code and text , usage of this will cause issues as Value captured in manage HR data in super admin will have values ending with semi colon
4. if you have 10 questions , define 10 check boxes with 10 unique keys
If you want candidate to answer atleast one question , set below condition on first checkbox. add Validations on first check box and select Custom validator and add below code :
ch = context.Key1.checked ? 1 : 0;
ch = ch + (context.Key2.checked ? 1 : 0);
ch = ch + (context.Key3.checked ? 1 : 0);
return (ch >= 1);
Please note , above is for 3 questions only. You need to add 10 strings in case of 10 questions. Key1 , key2 etc are Keys. for eg : in above case : key is :question1
save the configuration in panel.
Configuration at PDF file end :
configure check box and define as below :
All checkbox must be configured like above with their correspoding unique keys.
Export value should be Yes. If candidate selected a check box , Key for that checkbox will capture value as Yes else No.
CheckBox , Multiple questions selection , offboarding , exit survey form , KBA , LOD-SF-OBD-FRM , Forms, PDF, E-Verify and Compliance Forms etc. , Problem