before fragment widget {
arg 'field_id' => event_id 'value_string';
- my $field_name = event_id 'value_string' unless defined $_{field_name};
- arg 'field_name' => $field_name;
+ arg 'field_name' => event_id 'value_string' unless defined $_{field_name};
arg 'field_type' => 'text';
- my $field_class = $field_name;
- $field_class =~ s/\d\-//;
- arg 'field_class' => $field_class;
+ arg 'field_class' => "action-field " . $_{viewport}->name;
# these two are to fire force_events in viewports
# where you can end up without an event for e.g.