So I'm trying to default the "Template" field in the nested content data type when that particular field is empty. So when the field is set to {{headline}} but headline is empty on the content, it would default so something like "Content Block". Is this possible?
You should be able to do something like {{headline ? headline : 'Content Block'}} so default value is Content Block and when headline is set that'll be used instead :-)
Set Default for Template Field on Nested Content
So I'm trying to default the "Template" field in the nested content data type when that particular field is empty. So when the field is set to {{headline}} but headline is empty on the content, it would default so something like "Content Block". Is this possible?
You should be able to do something like {{headline ? headline : 'Content Block'}} so default value is Content Block and when headline is set that'll be used instead :-)
Thanks! Wasn't aware you could use ternary statements here!
is working on a reply...