Hi, Is it be possible to have for subfield 245$a and 245$c in marc21 textarea and not input like textarea for fields 5XX? Title and statement of responsability are now often a length greater than a line only and that would be easier to catalog with textarea. Regards, Marjorie
This is hardcoded in addbiblio: if ( length($value) > 100 or ( C4::Context->preference("marcflavour") eq "UNIMARC" && $tag >= 300 and $tag < 400 && $subfield eq 'a' ) or ( $tag >= 500 and $tag < 600 && C4::Context->preference("marcflavour") eq "MARC21" ) ) [ then textarea ... ] Note that if you save a string of 101 chars and re-edit, you should get a textarea.. A regex from a syspref instead of the hardcoded 500 and 600 here would be an idea..