I'm trying to build a handlebar statement that compares 2 fields, and if they are equal, then return a field.
{{#compare [L5[*].ORDERED PART] "===" [L5[*].SHIPPED PART]}}{{L5[*].SHIPPED PART}}{{/compare}}
This is the error:
"Could not compile handle bar \"{{#compare [L5.[0].ORDERED PART] \"===\" [L5.[0].SHIPPED PART]}}{{L5[*].SHIPPED PART}}{{/compare}}\" because \"Parse error on line 1:\n...are [L5.[0].ORDERED PART] \"===\" [L5.[0].\n-----------------------^\nExpecting 'CLOSE_RAW_BLOCK', 'CLOSE', 'CLOSE_UNESCAPED', 'OPEN_SEXPR', 'CLOSE_SEXPR', 'ID', 'OPEN_BLOCK_PARAMS', 'STRING', 'NUMBER', 'BOOLEAN', 'UNDEFINED', 'NULL', 'DATA', 'SEP', got 'INVALID'\" .Please correct and retry"
Any ideas on how to get this to work?