Trapping of field-induced liquid crystalline structures by a polymeric network