A while ago, I asked about an easy way to do code replacements on multiple fields. Kirk suggested typing the jersey number in an unused field (I chose Edit Status) and then applying a stationery pad for the code replacement. I set up a pad that has /c{editstatus}/ in the caption field and /k{editstatus}/ in the keyword field. My code replacement delimiter is set to be /. This works great except for one minor glitch. If I happen to have a picture I didn't bother to identify, the stationery pad ends up putting /c/ and /k/ respectively in the caption and keyword fields. It would be great if I could have some sort of condition on the code replacement so that if editstatus is empty, nothing gets applied to those fields. Is there a way to define a code replacement to be a null string or a blank string? Or, would it be possible to put some sort of conditional expression in the stationery pad to work in conjunction with the code replacement something like: {editstatus}?/c{editstatus}/:""
The simpler solution would be a code replacement that results in an empty or blank string, but the conditional expression could be quite useful. Now that I've asked this question, I seem to remember a discussion about specifying a default code replacement that would get used if the start and end delimiters were found but the stuff in between didn't match any of the replacement definitions. Did that ever happen?
Thanks,
Danny