change card details field from string => text