Hi guys!
i have encountered a bit of a problem and have been struggling to solve it with my basic javascript knowledge. What i am after is a script that when p_close_date has data is populated the script willpopulate p_close_time with the current time, although not SYSDATE as such because i dont want the time to change once the field has been populated.
I know this is a weird request cos there is no basic code as such but any help would be greatly appreciated. Below is Pseudo code which reiterates what i hope to achieve
{
if (theForm.p_close_date.value IS NOT NULL)
{
the form.p_close_time.value = TO_CHAR(SYSDATE, 'HH24:MI')
}
i have encountered a bit of a problem and have been struggling to solve it with my basic javascript knowledge. What i am after is a script that when p_close_date has data is populated the script willpopulate p_close_time with the current time, although not SYSDATE as such because i dont want the time to change once the field has been populated.
I know this is a weird request cos there is no basic code as such but any help would be greatly appreciated. Below is Pseudo code which reiterates what i hope to achieve
{
if (theForm.p_close_date.value IS NOT NULL)
{
the form.p_close_time.value = TO_CHAR(SYSDATE, 'HH24:MI')
}