Can someone help me switch out a standard formula URL button with a red one I created using Da Button Factory?

  • 0
  • 1
  • Question
  • Updated 2 years ago
  • Answered
Below is my current code in this "Delete" button I have. I just want to make it red so it's more visible. Thanks!! 



"javascript:if(confirm ('Are you sure you want to delete this PO?'))\n\n{location.assign('/db/" & Dbid() & "?a=API_EditRecord&apptoken=dhzuj8bcj8pceedupsm5zteqfn6" & "&rid=" & [Purchase Order ID #]

       & "&_fid_737=" & URLEncode(true) & "&_fid_738=" & URLEncode(User()) & "&_fid_739=" & URLEncode(Now())

       & "&rdr=" & URLEncode(URLEncode(URLRoot() & "db/" & Dbid()  & "?a=td")) &"&apptoken=dhzuj8bcj8pceedupsm5zteqfn6"& "')}"
Photo of Todd

Todd

  • 150 Points 100 badge 2x thumb

Posted 2 years ago

  • 0
  • 1
Photo of Matthew Neil

Matthew Neil

  • 31,678 Points 20k badge 2x thumb
"<a class='Vibrant Danger' onclick='DoDelete(\"Project\", gReqDBID,"&[Record ID#]&")' href='#'>Delete</a>"