# Syntax error with "if" on multiple lines

**URL:** <https://discuss.elastic.co/t/syntax-error-with-if-on-multiple-lines/230360>\
**Category:** Elasticsearch\
**Created:** [April 29, 2020, 11:50am UTC](https://discuss.elastic.co/t/syntax-error-with-if-on-multiple-lines/230360 "2020-04-29T11:50:38Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Luca\_Belluccini](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/luca_belluccini/32/33239_2.png) [@Luca\_Belluccini](https://discuss.elastic.co/u/Luca_Belluccini)\
**Post date:** [April 29, 2020, 12:07pm UTC](https://discuss.elastic.co/t/syntax-error-with-if-on-multiple-lines/230360/2 "2020-04-29T12:07:56Z")

</div>

Hello, please do not double post the same question as it has been already answered at [If and problem](https://discuss.elastic.co/t/if-and-problem/230222/3)

---

_[View the full topic](https://discuss.elastic.co/t/syntax-error-with-if-on-multiple-lines/230360)._
