Ok I checked and tested but looks like the script is doing nothing.
I changed and tested it like this:
sub {
my $tags = shift;
my $values = $tags->{values};
$values->{DateOfBirth} = '1969-11-11' if ($values->{DateOfBirth} eq '1970-12-12');
return;
}
My understanding that above global template would change the value of textbox named DateOfBirth to 1969-11-11 if value is currently stored as 1970-12-12.
Am I correct? I tried it, and nothing happened. Am I still missing something from the global template? I used the dump feature, and saw that format_empty_date was available.
Thanks again for helping me with this.
I changed and tested it like this:
sub {
my $tags = shift;
my $values = $tags->{values};
$values->{DateOfBirth} = '1969-11-11' if ($values->{DateOfBirth} eq '1970-12-12');
return;
}
My understanding that above global template would change the value of textbox named DateOfBirth to 1969-11-11 if value is currently stored as 1970-12-12.
Am I correct? I tried it, and nothing happened. Am I still missing something from the global template? I used the dump feature, and saw that format_empty_date was available.
Thanks again for helping me with this.