title: Prepending a string to a Smarty variable
body: <p>I'm looking for a way to prepend a string to a Smarty variable. I have a dynamic form having element-names like <code>input-1</code> (where 1 is the id of the setting/field).</p>
  
  <p>I've tried to do this with <code>{capture}{/capture}</code> but this only seems to work the first time (as the fields are displayed by a loop).</p>
  
  <p>Is there an opposite function from <code>|cat:'text'</code> for Smarty, or do I have to:</p>
  
  <ol>
  <li>Create my own modifier</li>
  <li>Rename inputs</li>
  </ol>