Adding support for configuring crossmatch types
Also fixing some issues with showing errors in crossmatch form