Skip to main content

Search

IF Function to Return HTML

Comments

3 comments

  • Matthias Walter

    HI Dan Thale,

    take care using quotes. In your return statement you're ending the string with the 2nd dbl-quote after href=

    If you have to use quotes inside a string, make sure to use single quotes:

    return "<a href='https:/iwr.sdttc.com/paymentapplication/Search.aspx' target='_blank'>San Diego County Property Tax Search</a>";

    0
  • Dan Thale

    Matthias, 

    Thank you for the help. With that change I am able to successfully run the function and the field populates, however the link is not active. The field is a Multi Line field set to "Enhanced Rich Text". In the screenshot below you can see the link above which was manually entered is active, whereas the link below if via the action. Any thoughts as to why this would be?

    0
  • Dan Thale

    Never mind I figured it out. Thanks Matthias!

    0

Please sign in to leave a comment.