Categories | Question details Back To List | ||
xdhtml custom form/auto complete i am trying to create a form for scheduler which would allow the user to type in a name, which would auto complete from a mssql database, and map the result to the textarea and the hidden which would store the name's id. is there a way to do this? i also tried to use a custom form: scheduler.showLightbox = function(id){ // id - id of event ... code to show any custom form ... } is there a way to incorporate the date? start-end date into there so i can pass it onto a colorbox iframe into one of my php pages, and how would i let the page submit the event to the scheduler after creation? thanks Answer posted by Stanislav (support) on Oct 12, 2009 06:53 >>is there a way to incorporate the date? start-end date into there You have event id, it is enough to access all event related info scheduler.showLightbox = function(id){ var ev = scheduler.getEvent(id); var start_date = ev.start_date; var end_date = ev.end_date; ... >> and how would i let the page submit the event to the scheduler after creation? When event creation is complited, just set all necessary details to the event object and trigger onEventAdded ev.details = some; Answer posted by Homer J. on Oct 12, 2009 06:58 Hey Johnny Shen, could you please contact me if you handled the auto complete field? Or can you post your code over here to reproduce by me ? Would be so nice, cause i am not that good coder, want this dunction, but will never get it on my own :( Answer posted by johnny shen on Oct 12, 2009 10:22 thank you, homer j i will update you if i complete it Answer posted by Homer J. on Oct 20, 2009 07:23 Hey Johnny, have you finished your work? I tried i tout myself and i got the autocomplete to work, but when i put it into the Scheduler Form it won't work anymore... :( Would like to ask if you have a working version so i can check my faults... Would be that nice to reply, Homer |