Hi,
I have to come back to my problem from January, as I’m approaching the end of my conversion of our website from webassist to Wappler.
I can’t figure out how to create the download.php file with Wappler.
This is how my form looks like at the moment:
<form role="form" dmx-bind:id="form1_{{$index}}" method="post" dmx-bind:name="form1_{{$index}}" action="../../../download.php"><input name="hiddenField" type="hidden" id="hiddenField" dmx-bind:value="DokumentId"><button type="submit" class="pull-right btn btn-sm btn-default-transparent btn-animated" name="download" value="Dokument laden">Dokument laden<i class="fa fa-download"></i></button></form>
How should the download.php file look like? I created a action in Sever Connect which filters the query with the hidden POST value to get the correct path and filename.
Thanks for your help in advance.