added support for other types of text string "forms" (form="print" for print hints)