I have a cgi radio button which works ok.
The values are correct but I want to add some HTML markup to the JOB_STATUS hash. If I just add formatting to the elements, the formatting is printed, even in speech marks.
Is there another way?
Keith
The values are correct but I want to add some HTML markup to the JOB_STATUS hash. If I just add formatting to the elements, the formatting is printed, even in speech marks.
Is there another way?
Code:
my %JOB_STATUS;
$JOB_STATUS{'C'}='Current explanation';
$JOB_STATUS{'A'}='Allocated explanation';
$JOB_STATUS{'F'}='Completed explanation';
$JOB_STATUS{'N'}='Not Allocated explanation';
print $query->radio_group(-name=>'jobstat',
-values=>['C','A','F','N'],
-default=>$FILE_INFO[10],
-linebreak=>'true',
-labels=>\%JOB_STATUS);
Keith