This is a migrated thread and some comments may be shown as answers.

Populate Subject with Javascript from scheduler

0 Answers 38 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Sander
Top achievements
Rank 1
Sander asked on 09 Sep 2011, 10:31 AM
Hello,

I have a question, currently I am working to add new clients. I created a button on the Advanced form for this. When the button is clicked there opens a new window with the windowmanager. The Window manager is in Agendacontrol and not in advancedform.

When they submit the client I want to add the data to the advanced form via Javascript. 

function OnClientClose(oWnd, args) {
             
                
            var arg = args.get_argument();
 
            var cityName = arg.achternaam;
}

Currently I have this. The agendacontrol execute this when the user has finished creating the new client. So, what I need now is to add that 'cityname' to the advanced form. Does anyone of you know how to do this? For example, I want the cityname to the subjectbox in the advanced form. 

Thanks in advance

Edit: 
I fixed it , solution: e._formElement.getElementsByTagName("INPUT")[0]; Thnx for the help :)





No answers yet. Maybe you can help?

Tags
Scheduler
Asked by
Sander
Top achievements
Rank 1
Share this question
or