Hi @empowernoor,
Welcome to the community! You could do the same in KoBoToolbox as outlined int he image below:
In the survey tab of your xlsform:
In the choices tab of your xlsform:
In the settings tab of your xlsform:
Data entry template seen in web form (Enketo):
Reference xlsform:
Attendance Styling Prompts.xlsx (14.8 KB)
Please note: This should work smoothly with web form (Enketo) and may not work as expected with KoBoCollect android app.
HAVE a GREAT DAY!