I'm trying to format the text used in my labels for a radio box group created with CGI.pm... Among other things, I've tried:

######### code

my $payPal_label= b(Pay Online with PayPal)," (Use this for instant access)";

my $check_label=qq~ <b>Send a Check in the Mail.</b> (If you're having a difficult time making a payment with PayPal use this option instead.)~;

        my %payment_labels = ('PayPal'=>"$payPal_label",
                           'Check' =>"$check_label");

        my $payment_type=$Q->radio_group(-name=>'payment_type',
                                                         -values=>['PayPal', 
'Check'],
                                                         -default=>'PayPal',
                                                         -linebreak=>1,
                                                         
-labels=>\%payment_labels);

######### end code

The "Bold" text doesn't work on either of the labels. As I said, I've tried to do this in a variety of ways, but I keep getting an error or the browser displays the "<b>" tags because CGI.pm converts it to this, "&lt;b&gt;".

I know there must be a way to do this and any help to get me over this hump would be much appreciated.

Kindest Regards,

--
Bill Stephenson


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to