@minuri_perera, this is doable using the XLSForm. This support article should help you achieve your objective: