Uses theType
property to set the limits of the 3 text properties:Text
/Headline
/Link
→ Has a character counter that counts down from the limit or each as you type. → This is dumb and I apologise.
Version 1 — The “Hmm Dunno” Version
Format the
Type
options as follows: ###/###/###
→ Add descriptions after the last ###
→ Numbers must only be 3 digits, so 1
needs to be 001
, and only numbers up to 999
will work.Social Ads → V1
Text Limit
The number before the first
/
prop("Type") ? format((toNumber(slice(prop("Type"), 0, 3)) - length(prop("Text")) <= -1) ? "❌" : format(toNumber(slice(prop("Type"), 0, 3)) - length(prop("Text")))) : ""
Headline Limit
The number between the first and second
/
prop("Type") ? format((toNumber(slice(prop("Type"), 4, 7)) - length(prop("Headline")) <= -1) ? "❌" : format(toNumber(slice(prop("Type"), 4, 7)) - length(prop("Headline")))) : ""
Version 2 — The “This is Silly” Version
Format the
Type
options as follows: ##/##/##
or Type Name: ##/##/##
→ The :
is needed to separate the description from the numbers. → Any number amount will work.Social Ads → V2
Text Limit
The number before the first
/
prop("Type") ? ((toNumber(replace(replace(prop("Type"), "^(.*): ", ""), "/(.*)", "")) - length(prop("Text")) <= -1) ? "❌" : format(toNumber(replace(replace(prop("Type"), "^(.*): ", ""), "/(.*)", "")) - length(prop("Text")))) : ""
Headline Limit
The number between the first and second
/
prop("Type") ? ((toNumber(replace(replace(replace(prop("Type"), "^(.*): ", ""), "([a-zA-Z0-9]{0,})/", ""), "/(.*)", "")) - length(prop("Headline")) <= -1) ? "❌" : format(toNumber(replace(replace(replace(prop("Type"), "^(.*): ", ""), "([a-zA-Z0-9]{0,})/", ""), "/(.*)", "")) - length(prop("Headline")))) : ""
Link Limit
The number after the second
/
prop("Type") ? ((toNumber(replace(replace(prop("Type"), "^(.*): ", ""), "([a-zA-Z0-9]{0,})/([a-zA-Z0-9]{0,})/", "")) - length(prop("Link")) <= -1) ? "❌" : format(toNumber(replace(replace(prop("Type"), "^(.*): ", ""), "([a-zA-Z0-9]{0,})/([a-zA-Z0-9]{0,})/", "")) - length(prop("Link")))) : ""