Can a simple text box column value within a form be converted to hyperlink ?

YASHIK
Kilo Expert

I would prefer a text box field value example "https://www.oogle.com.au" to be configured as an hyper link so that it's easy for user just to click on this link (URL) to get to the specific web page to get further information.

 

9 REPLIES 9

After inserting, make the field read-only so it'll show up like below.

find_real_file.png

onLoad() client script like below to set html field to read-only

function onLoad() {
    if (!g_form.isNewRecord()) {
        g_form.setReadOnly('u_html', true);  // set field 'u_html' to read-only
    }
}

Hi there, howdy? thanks for the input provided so far.

I need a column which does take text values as an input, possibly 200 characters. The column does not need to be necessarily configured as an HTML but when a user enters a URL, the value must turn as a hyperlink or web link.

I suppose to do this, i understand client scripts may be required to read the text, interpret the value and convert the text to a web link if possible. Otherwise leave the text as simple text.

So how can this requirement be fulfilled ?

Field of type HTML will show as an HTML editor. User would be able to enter text and images freely. User may also set a link to a text by clicking on the link icon.

find_real_file.png

Forgot to mention. By default, an url that is copied from a web browser will be pasted as a link and not as a text.