Request help with a custom edit button

  • 0
  • 1
  • Question
  • Updated 2 years ago
  • Answered
Hi,
I'm using the code below as a custom Edit button, data type is Formula URL.
FID 300 is a Date/Time field. I'm having trouble getting it to populate with the current Date/Time.
I've tried URLEncode() of the Now() function and have tried URLEncode() of a formula Date/Time field that captures Now(). Would appreciate some assistance with how to get the current date and time to get copied over to FID 300.

URLRoot() & "db/" & Dbid() & "?act=API_EditRecord&apptoken=n2eydtpip4wisd9v6abafjapy
&_fid_14=In-Progress
&_fid_300=
&_fid_408=cgreene@email.com
&rid="& [Record ID#] & "&rdr=" & URLEncode(URLRoot() & "db/" & Dbid() & "?act=dr&rid=" & [Record ID#])


Thanks,
Chris
Photo of Chris

Chris, Champion

  • 4,390 Points 4k badge 2x thumb

Posted 2 years ago

  • 0
  • 1
Photo of Matthew Neil

Matthew Neil

  • 31,438 Points 20k badge 2x thumb
&_fid_300="&URLEncode(Now())&"