Forum Discussion

PrashantMaheshw's avatar
PrashantMaheshw
Qrew Captain
3 years ago

Pipeline - If String empty then assign

Hi , 
I wish to check if a field(text) is empty and assign value accordingly

SO in Below if First Name then take Last Name

---

{% if a.first_name %} {{a.last_name}}

{% else %} {{a.first_name}}

{% endif %}



------------------------------
Prashant Maheshwari
------------------------------
No RepliesBe the first to reply