Answer for Part:'.
- $Apache::inputtags::part. ' | '."\n";
- }
- return $result;
+ my ($type) = @_;
+ my $result;
+ if ($type eq 'optionresponse' || $type eq 'radiobuttonresponse' ) {
+ $result = 'Answer for Part:'.
+ $Apache::inputtags::part. ' |
---|
'."\n";
+ } else {
+ $result = 'Answer for Part:'.
+ $Apache::inputtags::part. ' | '."\n";
+ }
+ return $result;
}
sub answer_part {
- my ($type,$answer) = @_;
- my $result;
- if ($type eq 'optionresponse' || $type eq 'radiobuttonresponse') {
- $result = ''.$answer.' | ';
- } else {
- $result = ''.$answer.' | ';
- }
- return $result;
+ my ($type,$answer) = @_;
+ my $result;
+ if ($type eq 'optionresponse' || $type eq 'radiobuttonresponse') {
+ $result = ''.$answer.' | ';
+ } else {
+ $result = ''.$answer.' | ';
+ }
+ return $result;
}
sub answer_footer {
- my ($type) = @_;
- my $result;
- if ($type eq 'optionresponse' || $type eq 'radiobuttonresponse') {
- $result = '
';
- } else {
- $result = '
';
- }
- return $result;
+ my ($type) = @_;
+ my $result;
+ if ($type eq 'optionresponse' || $type eq 'radiobuttonresponse') {
+ $result = '