we have a company website (service now) which has inputs that are auto completed by something called Ajax Reference completer.

When I enter a value manually in the field, it gets autocompleted from a database of values.
but when I set the value attribute to something, it doesn't do it, it is like it is waiting for some event to be triggered.

I had a select element that behaved kind of in the same way (if it isn't validated, the second one is unavailable). I triggered the "onchange" event and it works.

I tried a lot of things, to no avail...

Any help appreciated....