Is there code to make a text inside a table from a database be a hyperlink?? My idea is to have a list of websites in a table form that constantly updates (this is where the database comes in) and website visitors will click on the link to be taken to the desired site.
I made the database, but I dont know how to make the website link an actual hyperlink… currently its just reading as text since its coming from the database.
Hi All. I am trying to acheive the same. I have 4 columns. Firstname, Surname, Suburb, Link. I have added a search to find the persons details in the database and return the results of search in a table. This is working just fine and search results works fine. HOWEVER, the last column LINK, is a Hyperlink to a external web page address, which loads completely seperate information.
How do I make the Link Coloumn a Hyperlink to a specfic External Address?
Also per in the database has a different Hyperlink and it is a fixed address, so it does not change for each person.
I do not know code so just seeking some help with this challenge
Thanks in advance
Hi Genry. thanks for reply. not entirely sure what you mean by share a link to my website?
in the table results is a column that has a url web address to a different external Forms workflow website which loads the persons details as part of a existing registration process for events.
all i need the search result to do is find my name, (or anyone who searches) and show the results in the table which includes there url link to go to external web address once they click the column
hope that is clearer.
it does not matter if someone else sees the link during the search as it is not secure or private
thanks and hope for some help
Did you try using repeaters rather than a table to display the results? Can you share the url of the site you are working in? Will be easier to have a look at what you are describing
Hi Shlomi. I am now to coding and I am not sure what Repeaters are at this stage, i will read and learn and maybe that could be a better option. I understand now that it is better to see the page. I have made it live so you can what I mean as per my comments earlier in the thread. Here is link to site. https://www.ghostfishing.co.nz/search
Hope you can help or offer options of display content so there is a clickable link in the last column, and hopefully I can rename the link so you do not see the entire link
thanks again
Bruce
Hi Guys.
I have tried using URL first Genry. I thought that would work and then I read article suggesting using Rich Text and use Link to link off to External Site. I have changed back to URL and sadly it is still now working.
Is using repeaters for text boxes better?
There is an alternative way to perform what you are trying to do.
If you connect the table component to the collection (data-binding) - you can then set the filter of the dataset programmatically according to your search.
You can initialize the dataset filter to return no result at first with some known no result condition.
Using data-binding, URL columns should work as expected.
The reason URL column type does not work using the current implementation on your site, is that there is no notion of URL type column in the raw table representation, if it is not connected to a collection.
Hi Genry
I have just inserted a Repeater and yes it does look good and will provide a little more flexibility for sure
I guess the challenge now is to create the Search for the Repeater???
Again I am not a coder so any help with the search will be greatly appreciated
please let me know if you can make it work. if you need further help with the search, please have a look on this forum for similar threads, or lets please open another new thread
Hi Sholmi
Thanks again for your support. I still do not seem to be able to get it to work
The problem is I dont fully understand code as I am learning and a lot of this is over my head
The input search box element is called "input1
Page is linked to Dataset called “MemberLink”
search button is called “search”
Please help me to make this work
Thanks again https://www.ghostfishing.co.nz/search
Hi Shlomi,
Nearly there with my problem having read the above. I too need to show a hyperlink in a table that comes from my database. My code looks like this:
Hi Shlomi,
That’s great, I’ll try and work on code repeaters. I’m a real coding newbie, so just for the moment, how do I get the url in the database to display as a hotlink? Many thanks.