Highlighting a URL Link Custom Field
To highlight a URL link created as custom field with HTML code, follow the steps below: - Create a new custom field (e.g. Entity Field: Customization > Lists, Records, & Fields > Entity Fields > New)
- Set the Label
- Set the Type to Inline HTML
- Uncheck Store Value
- Set Applies To and Display subtabs
- Set the Validation & Defaulting subtab as follows (example):
'<a style="background: red" href="' || 'http://example.com/index.php?param=' || {custentityparam_id} || '"> CLICK HERE</a>'
- Click Save
Note: - Use "||" to connect strings
- Put the field ID into brackets: e.g. {custentityparam_id}
No comments:
Post a Comment