custom popup on task add/edit

Is it possible to open a custom made poup on task add or eddit even?

Hi,
you can simply capture onBeforeLightbox event, block it and show the custom form instead. The changes made in form can be applied using a public API

I.e. process closing lightbox, where ‘action’ is a type of action- ‘save’, ‘cancel’, ‘delete’

[code]switch(action){
case “save”:
task.text = ‘’;// apply values from form

	// add new task or update already existing one
	task.$new? gantt.addTask(task,task.parent) : gantt.updateTask(id);
	
	break;
case "cancel":
	// if cancel popup for creating a new task - delete it, otherwise do nothing
	if(task.$new)
		gantt.deleteTask(id);
	break;
case "delete":
	gantt.deleteTask(id);
	break;

}[/code]