- Posts: 5
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
have a form with file upload field. In "Edit email template", I design email in "Detailed admin notification".There is an option to add the file as attachment to the email (currently I can see the file name only)?ThanksPlease Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
<script type="text/javascript" charset="utf-8"> $(document).on('ready pjax:scriptcomplete',function(){ $.post('https://www.myServer/renameFile.php' , { sid: "{SID}", fname: "{eqFname}", ext: "{eqExt}" },function(data) { $('#question{QID} input[type="text"]').val(data) }); }); </script>
<?php $ssid = $_POST["sid"]; $sfname = $_POST["fname"]; $sExt = $_POST["ext"]; $sfullname = '../limesurvey/upload/surveys/'.$ssid.'/files/'.$sfname; $snewname=$sfullname.'.'.$sExt; $x=rename($sfullname,$snewname); echo $snewname; ?>
Please Log in to join the conversation.
Please Log in to join the conversation.