Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Database Relation field without link


Recommended Posts

  • Owner

If you are using the Database Relation field it comes with a link attached to it. If you want to use it as only text so you can perhaps add another link to it, then you can use the PHP function strip_tags.

{{$CleanTitle = strip_tags($record->customFieldDisplayByKey('YOUR DATABASE RELATION FIELD', 'display'));}}
{$CleanTitle}

 


View full record

Link to post
Share on other sites
  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...