I'm not following exactly what the complication is here, but…
You can use `SHtml.makeFormsAjax andThen` in front of your
transforms to handle the AJAXification of the form. You can also
append any JS in a script tag to do whatever JS setup you want to
do, if you want. Think something like:
"type=file" #> { input: NodeSeq =>
input ++
<script>setupAjaxFileUploadForm("formId")</script>
}
You can also yield a `data-lift` directly in your bindings:
<form class="my-form-that-will-appear-many-times">
<!-- fields -->
</form>
"form" #> myItems.map { item =>
"^ [data-lift]" #> "Form.post?multipart=true" &
.. other bindings ..
}
This will make one form for each item, binding it as a POST form with
multipart encoding (leave off multipart=true if you don't want to do that),
and then bind whatever other bits in the form you want to bind are.
Thanks,
Antonio