We had two lists in SharePoint 2013. One list (Report) is for the report and another list (Access) for access.
First list "Report" consist of a different column, one column name as "Request access" with Hyperlink column. So when user clicks on "Request access" column it will take to "Access" list.
Now our requirement, Access list columns need to auto populate data from "Report" register list. Means suppose we have columns with name as "Request', "Title", "owner names". Those columns data need to auto populate on "Access" list.
Is there any code for my request instead of lookup column? I am trying this code, but data not getting populated. Could anyone correct me?
Added below jquery script on the script editor under Report list
-- New form source of Report list --
<script src="http://code.jquery.com/jquery-1.8.3.min.js"></script>'
<script>
$(function () {
$('input[Request*="Request"]').on("change paste keyup", function() {
var Audience = $('[id*="Request"]').val();
localStorage.setItem('localRequest', Request );
});
});
</script>
-- New form destination on Access list --
Adding jquery script on the Destination list(Access) for populating data from Report list.
<script src="http://code.jquery.com/jquery-1.8.3.min.js"></script>
<script>
$(function () {
$('input[Text*="Text"]').val(localStorage.getItem("localServiceArea"));
});
</script>
Please share correct code or update in correct direction.