This functionality is already available in Survey 123 (as per below), but seems to be missing in Dashboards. We generally use other third-party applications to generate said QR codes, but would prefer if it is already made available within ArcGIS Online itself.
