Rewrite value using another field value only if empty.

Created on 20 November 2020, over 4 years ago
Updated 12 May 2025, 3 days ago

Problem/Motivation

Need to rewrite only when field is empty.

Proposed resolution

Check if the field is empty, if it is then use another field(s) value or even a default value.
Rewrite plugin has the flexibility to use multiple replacement patterns, custom string, or a mix of both.
Include the conditional to do the rewrite only if the field value is empty or it is not present in the source.

User interface changes

include 'only if empty' checkbox

Feature request
Status

Needs work

Version

1.0

Component

Code

Created by

🇨🇦Canada blanca.esqueda

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024