Jump to content

FinWell

Members
  • Content Count

    1
  • Joined

  • Last visited

  1. Hi, I am updating an html block in a datapage form. I tried using this code and tested that the logic works with regular text. But whenever it tries to write the hyperlink, it displays nothing instead. Thanks for any help. <script language="javascript"> var samp='[@field:Table_Sample]'; if (samp.length>0) {var str = "New Record"; var result = str.link("https://www.sample.com");} else {samp = "Update Record" document.write(samp);} </script>
×
×
  • Create New...