I have this working but i don't understand why my first variable gives me this,
<span class="565f98b9a01a450309ebf4fc">123</span>
and the second works one works. I only want the '123'
here is my code
pulls the field values into a global Variable
$(document).on
('knack-record-create.view_115', function(event, view, record)
{
JobNumber = record.field_30
ReqID = record.field_29
alert('variables created ' + 'JobNumber' + ' '+JobNumber +' ReqID '+ ReqID);
});
This is the code that inserts the variables into the fields
$(document).on
('knack-view-render.view_103', function(event, view)
{
$('input#field_113').attr('value', ReqID);
$('input#field_105').attr('value', JobNumber);
alert('variables created ' + 'JobNumber' + ' '+JobNumber +' ReqID '+ ReqID);
});
Any help or direction would really be appreciated.