Hi, I have two forms. Once form for the client to fill in, and another form that will be auto populated with data from the client form when opened. I need a way to store this client information temporeraly in order to autopopulate fields in the other form. Can this be done through a url? because the data will be sent via a email. There is only 3 fields that need auto populating. I was thinking of sending a hyperlink through email created by the client form, that takes the 3 input fields and passestheir content to the other fields in the other form. can this be done? any advice on how to achive this?
Thank you.
Loading
RunDown BassManPosted Aug 27, 2014, 4:25 AM
function send()
{
var name = document.getElementById('Fname').value;
var company = document.getElementById('company').value;
var email = document.getElementById('email').value;
var str = "Link to IT Web Report"
var linkToReport = str.link('S:\IT\Applications\Aleds Work\Guest WIFI access\ITTaskWebReport.html?name='+name+'&company='+company+'&email='+email);
var link = 'mailto:[email protected]?subject= Guest WIFI request'
+'&body=A request for guest WIFI access was made. Details:- %0D%0A'
+'%0D%0A Name: '+document.getElementById('Fname').value +
'%0D%0A Company: '+document.getElementById('company').value +
'%0D%0A Email: '+document.getElementById('email').value +
'%0D%0A'+linkToReport;
window.location.href = link;
}