Sorting and Looping Through Objects/Arrays
You may be passing some data into DocuMerge that is an array or object. On occasion, the order in which your objects and arrays are presented will not fit the need of your logic or output in document templates. We provide methods to sort by different keys and whether to sort ascending or descending. Below…
Conditional if/else Statements
During development of your merge workflows and templates, you may find instances where you want to alter the output of the variable, or even an entire template section, using a conditional statement. You can use conditional statements anywhere you call Smarty variables; in your document templates, settings fields, field maps, route rules, email and other…