<& /elements/tr-td-label.html, %opt &>
FDU# FAT# Port#
<%doc> Supports a circuit ID of the form FDU# (digit), FAT# (digit), SubFAT (letter), Port# (numeric) May support other formats in the future, or just a free text field. <%init> my %opt = @_; my $value = length($opt{curr_value}) ? $opt{curr_value} : $opt{value}; my ($fdu, $fat, $port) = split('/', $value); my $subfat = ''; if ( $fat =~ /[A-Z]$/i ) { $subfat = substr($fat, -1, 1, ''); } my $field = $opt{'field'} || 'circuit_id';