I have now moved my scripts, and now I get data from a related list.
But, this is what I need:
I have a custom list with the fields ProjectNo, ProjectName, ProjectLeader, ProjectLeaderPhone, ProjectStart,....
I've created a copy of the NewForm called NewForm2 and added references to the scripts.
The user should type in the ProjectNo value in the ProjectNo textbox. When the user leaves the ProjectNo textbox I want to get the ProjectName and ProjectLeader to the textboxes from a webservice
"http://iisserver/agri/ws.asmx?op=getProjectsByProjectNo". I havent fugured out how to do this.
And for a better solution: while the user types the projectNo in the textbox it would have been nice to show a list of projects matching allowing the user to click an item in the list to select - and update the ProjectName and ProjectLeader textboxes....