Forum Discussion

ByronDeane's avatar
Qrew Trainee
2 years ago

Embedding a hidden URL in a Forms "text" area

I know there are many ways to enhance a form text area, like HTML tags for BOLD and Color changes.  However, I was wondering if you could embed a URL and hide it behind a single word or phrase, like "HERE" or "Register Here", like you can in MSWord.

Byron Deane

1 Reply

  • sure np,
    Here is the generic syntax for the formula Rich text field which is a hyperlink.

    var text Words = ( a field or text goes here);

    var text URL = URLRoot() & "db/" & [_DBID_PATIENTS] & "?a=dr&rid=" & [Related Patient];

    // this last part is always the same

    "<a href=" & $URL & ">" & $Words & "</a>"

    Mark Shnier (YQC)