In an XPage I have a form with some Editbox fields for user input. The fields are writable.
For convinient test purposes I created an Auto-Fill Button which should fill in the form programmatically. There for I use some SSJS code triggered by a Click Event.
The Scipt code looks like this :
var id ='#{javascript:getClientId("company")}';
document.getElementById(id).innerHTML= 'Test company';
While this piece of code works best with computedFields, it doesn‘t work with Editbox‘s.
What do I miss here ?
 
     
    