<div tal:repeat="sequence request/form/keys"> <input type="hidden" tal:attributes="name sequence; value python:path('request/form/%s'%sequence)" tal:condition="python: sequence <> 'submit'" value name /> </div> I use this to do multi-form "wizards".