Forum Discussion
EOMDevelepors
7 years agoQrew Captain
I am using now this code but its not prompting.
Can anyone help thanks
If([Maximum Record ID# In]=0,"javascript:alert('You have not clocked in. Please clock in first!')",
var text memo = "javascript:prompt('Enter a brief description of the work done in this session: ', ' ')";
var text url=
URLRoot() & "db/" & [_DBID_TIME_IN_OUTS] & "?a=API_EditRecord&apptoken=myTokenHere&rid=" & URLEncode ([Maximum Record ID# In])&"&_fid_6=Out"&"&_fid_20=" & $memo;
"javascript:" &
"$.get('" &
$url &
"',function(){" &
"location.reload();"&
"});" &
"void(0);")
Can anyone help thanks
If([Maximum Record ID# In]=0,"javascript:alert('You have not clocked in. Please clock in first!')",
var text memo = "javascript:prompt('Enter a brief description of the work done in this session: ', ' ')";
var text url=
URLRoot() & "db/" & [_DBID_TIME_IN_OUTS] & "?a=API_EditRecord&apptoken=myTokenHere&rid=" & URLEncode ([Maximum Record ID# In])&"&_fid_6=Out"&"&_fid_20=" & $memo;
"javascript:" &
"$.get('" &
$url &
"',function(){" &
"location.reload();"&
"});" &
"void(0);")