Bug: Header line from Radiogram RRI Template doesn't appear in Winlink text

During Field Day, I noticed something that I didn’t expect. I’m using the RadioMail app on an iPad. It includes a Winlink Template Package that includes RadioGram RRI Form Ver. 10.7 .

What I’m curious about is why the RadioGram Header isn’t included in the Winlink message text. It’s my understanding that the Template Package in RadioMail is the same as the one used in Winlink Express.

Friends using Winlink Express tell me that the header shows up there. I’ve insured I have the latest template update from the RadioMail server.

Indeed, looks like the preamble line is not inserted properly for some reason.

The address and message are showing properly, so there is something about the assembly of the preamble that’s not working right in safari. This will require more in-depth debugging.

var p0 = document.getElementById('SVC' ).value;  

var p1 = document.getElementById('NumberVal' ).value;  
//test
var p1 = p1.replace(/^0+/, '');
var p1 =p0+p1 + ' ';  
  
var p2 = document.getElementById('Priority').value;  

var criticaltag = p2;  
var msp = p2;  
  
var p2 = p2+' ';  
  
var p3 = document.getElementById('Instructions').value;  
  
var p3=p3.replace(/\NONE/gm, "");  

if (p3.length > 0) { p3 = p3 + ' '};  
  
var p4 = document.getElementById('H_Info').value;  
  
if (p4.length < 1) { p4  = ''} { p4 = p4 +' '};  
  
var p5 = document.getElementById('Callsign').value + ' ';  
  
var p6 = document.getElementById('check').value + ' ';  
  
//alert (p6)  
  
var p7 = document.getElementById('place').value + ' ';  
  
var p8 = document.getElementById('Time1').value + ' ';  
  
var p9 = document.getElementById('Date').value;  
  
var preamble = p1 + p2 + p3 +  p4 +  p5 +  p6 +  p7 +p8 + p9 +'\n' ;  
  
var preamble=preamble.replace(/\  /gm, " ");  

var a1 = document.getElementById('To1').value;  

var acall = document.getElementById('ToCall').value;  
  
if (acall.length < 1) { acall = ''};  
  
var a2 = document.getElementById('Address').value;  
  
var a3 = document.getElementById('City').value;  
  
var a4 = document.getElementById('State').value;  
  
if (a4.length < 2) { a4 = ''};  
  
var a5 = document.getElementById('ZIP').value;  
  
var acountry = document.getElementById('country').value;  
  
if (acountry.length < 1) { acountry = ''};  
  
var a6 = document.getElementById('HPhone').value;  
// now zap phone if invalid
n = a6;
n = n.replace(/[^\d\ ]/g, '');
var n=n.replace(/\-/gm, "");  
var n=n.replace(/\ /gm, "");  
var n=n.replace(/\./gm, "");  
if (n.length >0 && n.length <10) {a6 = ""}; 



var a6a = document.getElementById('PhoneExtention').value;  

//if (a6.length < 1) { a6 = 'NO PHONE'};  

if (a6a.length > 0) {var a6a = " EXT "+a6a;}  

var subjectphone = a6;  
  
var a7 = document.getElementById('Email').value;  
  
if (a7.length < 1) { a7 = ''};  
  
var a8 = document.getElementById('Opnote1').value;  
  
// put together address --/  
  
var Address = a1  + ' ' + acall + '\n' ;  
  
if (a2.length > 0) {Address = Address + a2  +'\n' };  
  
var Address = Address + a3 + ' '+ a4 + ' ' + a5 + ' ' + acountry +'\n' ;  
  
if (a6.length > 0) {Address = Address + a6 + " "+a6a+"\n";  };  
  
if (a7.length > 0) { Address = Address + a7 + "\n"; };  
  
if (a8.length > 0) {Address = Address +'OP NOTE '+ a8 +'\n'; } ;  
  
Address = Address +'BT' + '\n' ;  
  
mytext = preamble + Address;  

Georges,
Any progress on resolving this issue? I have latest ver of RadioMail and updated forms, but, the Preamble still doesn’t appear in output.

73, Frank Krizan, KR1ZAN :us:
Garland, TX

I regularly download the Winlink message templates and just tested the Radiogram/RRI template and it is still broken. The Preamble is still missing on the text output.

Any plans to fix it? This is a template I could use daily on RadioMail, but, have to resort to other means.

Thanks and 73, Frank KR1ZAN

Garland, TX