Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2025 11:43 PM
opend_at date change
function onSubmit() {
if (g_form.getValue('category' == '')) {
g_form.showFieldMsg('category', 'category is require', 'error');
return false;
} else {
g_form.setValue('caller_id', g_user.userID);
alert(new Date());
g_form.setValue('opened_at',new Date());
return true;
}
}
Solved! Go to Solution.
1 ACCEPTED SOLUTION
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2025 06:55 AM
Try to format the date before setting.
For ref.
Hope this helps.
Regards,
Siva
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2025 06:55 AM