Hi ,
Is it possible to display a field (p.ex name of customer) in header of edit form?
When I create a form with several tabs I now display the name on te differrent tabs. It would be easier is I could display a field on the head of the form (near save button)
Johan
Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
display field in header of edit form
Re: display field in header of edit form
Johan,
Put something like this in the Form's JavaScript section.
Steven
Put something like this in the Form's JavaScript section.
Code: Select all
function nuLoadThis(){
var nuInput = document.createElement('input');
nuInput.setAttribute('id', 'formTitle');
nuInput.style.position = 'absolute';
nuInput.style.top = '0px';
nuInput.style.left = '0px';
nuInput.style.width = '100px';
nuInput.style.height = '20px';
nuInput.style.textAlign = 'left';
nuInput.value = 'Joe Bloggs';
document.body.appendChild(nuInput);
}
Steven
Re: display field in header of edit form
Steven,
Works perfect, just what I'm looking for. Maybe an idea to integrate it in the next update?
Thanks again
Johan
Works perfect, just what I'm looking for. Maybe an idea to integrate it in the next update?
Thanks again
Johan