Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Jordan on Jun 27, 2009 01:24
open dhtmlx forum
DHTMLX Scheduler

Hi,

Is it possible to customize or add new fields such as textboxes and hiddenfields in the lightbox form? and if so,
when the data is passed how do i access this new fields from the php end.

Thanks.
Answer posted by Support on Jun 29, 2009 01:59
You can customize existing form and add new sections to it ( by default scheduler supports textareas  and selectboxes ) - please check attached document. 

>>when the data is passed how do i access this new fields from the php end
If you are using php connector - you can just add the fields to the list of fetched one and map it to the form sections in client side configuration , they will be fetched and saved automatically. 
If you have more complex data saving rules, you can use beforeProcessing server side event ( you can check connector's documentation about server side events ) - it will provide info about all properties of event, which was defined on client side


function my_code(action){
     $some = $action->get_value("property_name");
     // do something 
}
$conn->event->attach("beforeProcessing","my_code");

Attachments (1)
Answer posted by Jordan on Jun 29, 2009 03:14
Hi,

Thank you very much..