Hi!!

I have some vales in a table:

                       sap    => {
                                   '01-17642-200' => '4600004-0001',
                                   '01-17615-700' => '4600003-0001',
                                   '01-17533-410' => '4600970-0001',
                                   '01-17533-408' => '4600971-0001',
                                   'CP1417'         => '4600971-0001',
                                 },

I want to be able to display them so that they line up:

01-17642-200  4600004-0001
01-17615-700  4600003-0001
01-17533-410  4600970-0001
01-17533-408  4600971-0001
CP1417          4600971-0001
           ^^^^^^^^

How do I get perl not to remove the spaces in the dropdown when selecting?

  print $query->popup_menu( -name     => 'part_number',
                            -values   => \@{$TABLES_RMA::T_PARTS{
$part_number_control }{ sap }},
                            -default  => $part_number,
                            -onchange => " var
part_number=update_form.part_number.options[
update_form.part_number.selectedIndex ].value;",
                          );


I have tried " " and it will no run.

Thanks,

Jerry



Reply via email to