[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ic] $ItemField->{field_name}


Marco Mescoli writes:
How to read inside [perl] the current [item-field field_name] value ?
Is it possible something like this ?
[perl]
  if ( $ItemField->{field_name} eq "some value" ) {
  ...
  }
  ...
[/perl]

The following came to mind, not sure if it is the most elegant one though:
[perl interpolate=1]
my $item = '[item-field field_name]';
if ($item eq "some value") {
 ...
}
...
[/perl]
For Gert: I am alive but troubled :-).

Troubled makes you feel alive, right! ;)
Coming soon ...
Oppala'.

CIAO! Gert

_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.