[ic] Intercept and correct mv_searchspec

IC ic at tvcables.co.uk
Tue Jun 26 14:09:49 UTC 2012


Not sure this made the list so re-sending...

Hi folks,

I am trying to intercept mv_searchspec from the small search component and
correct a common spelling difference:-

So far this is my non working code in the small search component:-


      <INPUT MAXLENGTH=30 NAME="[value mv_searchspec]" type=text size=15>
	      [tmp sspec][perl]
	      my $correct = $Values->{mv_searchspec}->[0];
	      $correct =~ s/adaptor/adapter/g;
	      return $correct;    
	      [/perl][/tmp]

      <input type=hidden name=mv_searchspec value=[scratch sspec]>

It doesn't work, please help!

Thanks,
Andy.




More information about the interchange-users mailing list