SarahClark
6 years agoQrew Cadet
how to create a ""submit"" button
My users complete timesheets each week. Some work on it on an ongoing basis, saving as they go. I would like to give them a "submit" button that indicates that they are finished.
I assume this is as straightforward as having the button check a checkbox, but I'm not confident I have the code correct. I thought I'd ask here for confirmation, versus trial and error that will frustrate me. :)
This is modified from another button in another table that does multiple things. I copied the code that just does the checking the checkbox part. Is this it, or am I missing something that should go at the end?
URLRoot() & "db/" & Dbid() & "?act=API_EditRecord&apptoken=cpaz2k7njc4ifc24muhvc749ast&rid=" & [Record ID#]
& "&_fid_58=1"
(field 58 is the "submitted" checkbox)
I assume this is as straightforward as having the button check a checkbox, but I'm not confident I have the code correct. I thought I'd ask here for confirmation, versus trial and error that will frustrate me. :)
This is modified from another button in another table that does multiple things. I copied the code that just does the checking the checkbox part. Is this it, or am I missing something that should go at the end?
URLRoot() & "db/" & Dbid() & "?act=API_EditRecord&apptoken=cpaz2k7njc4ifc24muhvc749ast&rid=" & [Record ID#]
& "&_fid_58=1"
(field 58 is the "submitted" checkbox)