SalesIQ Prechat fields mandatory when offline

SalesIQ Prechat fields mandatory when offline

Is there an easy way to have the Name and Email fields in the SalesIQ prechat form mandatory when offline and optional when online?