Rich formula button to open in another tab

  • 0
  • 1
  • Question
  • Updated 2 months ago
  • In Progress
  • (Edited)
I have this formula that allows user update information from one table to another table, the problem is my formula have some script and because of that I need open this process in another tab, what part I missing in my formula below 

Type: button: (Update data)

"<a  style=\"text-decoration:none; background: #f90; border-radius: 5px; color: #fff; display: inline-block; padding: 8px 20px; text-align: center; text-shadow: none;  \"href='"&URLRoot()&"db/"& [_DBID_CONTACT_UPDATES]&
"?a=API_GenAddRecordForm"&
"&_fid_52=" & URLEncode ([Contact ID2])&
"&_fid_6="&[Contact Type]&
"&_fid_19="&[First Name]&
"&_fid_21="&[Middle Name]&
"&_fid_34="&[Land Line Phone Number]&
"&_fid_50="&[Previous Phone Number]&
"&_fid_8="&[Email]&
"&_fid_31="&[Facebook Email]&
"&_fid_32="&[Facebook Username]&
"&_fid_30="&[Instagram Username]&
"&_fid_43="&[AuthorizedContact]&
"&_fid_44="&[Emergency]&
"&ifv=52"&
"'>Update Contact</a>"
Photo of Data System Specialist (Administrator)

Posted 2 months ago

  • 0
  • 1
Photo of Everett Patterson

Everett Patterson

  • 1,016 Points 1k badge 2x thumb
You can add the target attribute to the anchor tag.


"<a target=\"_blank\">Update Contact</a>"

This will open the link in a new window or new tab (depending on the browser settings)
(Edited)