Can I put a date picker in a Sugar Alert?

I have a custom module where a restricted number of users can select multiple records in list view then choose a list view Action that in turn defines a job in the Scheduler that will execute for each of the chosen records.

When they choose that list view action I would like to prompt them for a run date for the job, I would then set that, and a hard-coded time, as the execute_time for the job.

How can I put a date picker in a confirmation alert? Or is that even possible? Anyone have ideas on how best to do this?

thanks,

FrancescaS

Parents
  • Hi Francesca Shiekh 

    I'm afraid it is not possible to render a date picker in a confirmation popup. Instead you may consider extending the massupdate view in order to render inside its such date field. On triggering the save event on this view you may schedule the job for each selected record in the list view.

    Regards

    André Lopes
    Lampada Global
    Skype: andre.lampada
Reply
  • Hi Francesca Shiekh 

    I'm afraid it is not possible to render a date picker in a confirmation popup. Instead you may consider extending the massupdate view in order to render inside its such date field. On triggering the save event on this view you may schedule the job for each selected record in the list view.

    Regards

    André Lopes
    Lampada Global
    Skype: andre.lampada
Children
No Data