Poly(aryl ether amide) containing o-nitroanilide forms a physical gel in polar aprotic solvents by solvent-induced change of hydrogen bonding modes, in which hydrogen bonding acceptor solvent molecules break intramolecular hydrogen bonding of o-nitroanilide and induce intermolecular hydrogen bonding.