How do I fetch specific form details in all other pages?

Hello,

My problem is, I have a title on my main page and that title content can be decided by one form (Say Content Management), where user can input the content, which is supposed to be reflected directly on the main page.

I have tried doing this using javascript but I can't make this happen without having any global variable which holds these values all the time.

Putting my code here,

var marqueeContent = "";
var flag=false;
var recordCount = "";
$(document).on('knack-page-render.any', function(event, view, data) {
$(document).on('knack-records-render.view_75', function(event, view, records) {

// this is the problem, where i have to pass my view number then only I can get these record details, and these details will not be accessible in other pages.


recordCount = records.length;
for(i=0;i<recordCount;i++){
if(flag==false){
marqueeContent = marqueeContent + records[i].field_75;
alert(records[i].field_75);
if(i == (recordCount-1)){
flag=true;
}
}
}
});
})
var addMarquee = function(view){
$('#' + view.key).prepend('<marquee>'+marqueeContent+'</marquee>');
}

$(document).on('knack-view-render.view_1', function (event, view) {
addMarquee(view);
});