I'm trying to use Numeric Input (php) to create a count for each task.
Ultimately I'd like the count to increment when a new task is generated in recurring tasks.
I have the following code for the field but it doesn't seem to be incrementing (using dynamic option for testing):
Code: Select all
$current_field_value = intval($current_field_value);
if(!strlen($current_field_value)){
$incremented_value = 0;
} else {
$incremented_value = $current_field_value + 1;
}
$output_value = $incremented_value;
Am I doing something wrong?
Thanks.