January 9, 200323 yr Is this possible? I have a field in a record, that is a customer URL. After a search is run, and the matching records are listed, the user clicks on the results they want to view and the detail page opens. Along with other information is the customers URL, if they happen to have a website of their own. I want the URl to be clickable so the user can click on it, and open a new window that leads to the website. As it is now, the WWW.:.XXX shows up, and I have not been able to make it a hot link. Thanks in advance for your time & help, Wayne
January 9, 200323 yr Not sure what version you have, but I known in version 5 and up there is an Open URL script step. Make an "Open Link/URL" button with a script attached with the Open URL script step inside. You might want to first check if the field is empty before trying to send them to an empty URL.
January 10, 200323 yr Here is our solution. Rather than put the URL alone into the url field, we enter the complete html code for a link. This looks like - "<a href="http://the.url"> Descriptive text </a>" Then in the detail page, we just list the field with Raw encoding. [FMP-FIELD: url, Raw] You could probably write a calculation to create the html code inside the field.
January 11, 200323 yr Author Thanks Andy, that worked out fine. Now to make it a little more complicated. How about making that link open a new browser window. How hard is that? Thanks, Wayne
January 11, 200323 yr Just add the modifier Target = "new" like this: <a href="http://the.url" Target="new"> Descriptive text </a> You can also learn a lot by looking up one of the many html guides and tutorials online.
Create an account or sign in to comment