I can call js function using a clientListener on my input text field. But I have too many fields.
I don't want to set client listener on each of my text fields. Is there any way to do this.
depends on how you want your JS function to be triggered. If the function is triggered by a valueChange event (or another event related to an input text field) then you will have to add the clientListener component to all of the input text fields. If the function is triggered e.g by a command button then you can lookup the input text component starting from the ADfPage.PAGE root object using fincComponentByAbsoluteId()
Thank for reply. Now i am using "addEventListener" for my fields.
Its working if i set clientListener on my fields directly, I mean that when not using addEventListener its return ID.
In this situation "evt.getSource().getClientId()" return nothing and alert isn't work. I thought that that will return fields ID which i clicked.