I have a jquery control that i developed with JSLink. If I save the form the contents of the list item disappears. So I have created a PreSaveAction function in jquery that at the moment copies content from one column to another (this bit works), but it does not save , so it runs the function but it does not save afterwards (and go back the list itself. I have added Return true at the end of the function and it now says "The server was unable to save the form at this time. Please try again" here is my sample code :
<script src="//ajax.aspnetcdn.com/ajax/jQuery/jquery-1.11.2.min.js" type="text/javascript">
</script>
<script type="text/javascript">
$(document).ready(function(){
// Here i added code for other functionalities
});
function PreSaveAction()
{
var empNum = $('input[title="Title Required Field"]').val();
//alert(empNum);
$("input[title='TitleA']").val(empNum);
return true;
}
</script>
PreSaveAction
function, but we can't see how this fits into your jslink pipeline.