Welcome to the nuBuilder Forums!

Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.

Hashes in subforms

Questions related to using nuBuilder Forte.
Post Reply
agnar
Posts: 37
Joined: Sun Apr 21, 2013 10:58 pm

Hashes in subforms

Unread post by agnar »

Say I have a subform containing web-addresses (from the "web_address" field in the relevant table), and I 'd like the subform to display an html element with a link to the web-address, hence, I'd expect the following HTML-value of my Web-address column to work:

Code: Select all

<a href="http://#web_address#">#web_address#</a>
But that only literally displays "#web_adress#" in my subform column.

What do I need to do?
agnar
Posts: 37
Joined: Sun Apr 21, 2013 10:58 pm

Re: Hashes in subforms

Unread post by agnar »

Looks like hashes are not supported in the browse form (neither edit/browse forms or subforms), only the edit form.

So I tried to create a ordinary browse edit form with the following query:

Code: Select all

SELECT *, CONCAT( '<a href="http://', web_address, '">', web_address, '</a>) AS html_link FROM company
But that just ends up in an empty table, even if there are records.
toms
Posts: 785
Joined: Sun Oct 14, 2018 11:25 am

Re: Hashes in subforms

Unread post by toms »

Agnar,

Hash Cookies are supported in Browse Forms, make sure to enclose the cookie with a #-character.
admin
Site Admin
Posts: 2829
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 30 times

Re: Hashes in subforms

Unread post by admin »

agnar,

I'm not sure I understand your question.

Steven
Post Reply