both must be connected!!
use a y connector and connect the hot up to the cold as well,
you run the risk of damaging the machine if the hot isn't supplied any water at all,
plus the machine won't wash/cycle correctly.
I have seen this mistake many times,and its gone unnoticed by the user until the solenoid, or on some, triple valve assemblies has burnt out.
paul
March 2012