Is there a way to open date/time picker using a UI macro button ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-28-2017 01:35 PM
I want to set the date/time value to a read only field which stores string values.
Thanks,
Shubham Patel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-28-2017 02:01 PM
Hi Shubham,
Can you elaborate ? If possible, can you share screenshot ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-28-2017 02:05 PM
Hi Shubham,
Please find below JavaScript code to open/close date picker field.
var field_id = g_form.getControl('start_date').name;
new GwtDateTimePicker(field_id, 'yyyy-MM-dd HH:mm:ss', true);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-28-2017 02:14 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-28-2017 02:33 PM
Hi Shubham,
Is there any reason for not using "Date/Time" Field and instead creating custom date field ?
You could create new field in the form and use that whenever you need.