Forum Discussion

NicholasNeilio's avatar
NicholasNeilio
Qrew Member
2 years ago

New Form Builder Rich Text - Add Link - how to make link open new tab

Using the New Form Builder, inside a rich text box, using the insert link function, how do i get the link to open in a new tab

i have tried the ?&target_blank

and 

<a href="https://" & " target=_blank" & ">File Upload</a>" 

but it just has the text, not a link



------------------------------
Nicholas Neilio
------------------------------
  • Your syntax doesn't look quite right. Are you using just a plain rich-text element on the form or a formula-rich text? 

    If it's just an element on the form - the syntax should look like: 

    <a href="https://"  target="_blank">File Upload</a>"

    The difference is that since it's a rich text element you don't need the & and the url and _blank need to be in ""

    If you're using a formula, it would need to be like: 

    "<a href='https://' target='_blank'>File Upload</a>"

    In this one - since it's a formula string, you need to close the entire element in "" and then the URL and _blank need to be enclosed in single quotes



    ------------------------------
    Chayce Duncan
    ------------------------------
    • NicholasNeilio's avatar
      NicholasNeilio
      Qrew Member

      Thanks, that works for me in the legacy form builder, not the new form builder, 

      I tried using the <> code option also, assuming missing something simple 



      ------------------------------
      Nicholas Neilio
      ------------------------------
      • ChayceDuncan's avatar
        ChayceDuncan
        Qrew Captain

        Ah - that's right. I remember this from last week, the new forms do not have the same hyperlink options to open in a new tab similar to Dashboards and the legacy forms. At least not natively in the rich-text element at this time. You will likely need to convert over to a formula-rich text field to achieve the same result in the new forms. 



        ------------------------------
        Chayce Duncan
        ------------------------------