Skip to main content
Question

Pipeline - If String empty then assign

  • March 24, 2022
  • 0 replies
  • 17 views

Forum|alt.badge.img+11

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
------------------------------