wanewrld Posted January 9, 2003 Posted January 9, 2003 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
trevorg Posted January 9, 2003 Posted January 9, 2003 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.
andyjohnson Posted January 10, 2003 Posted January 10, 2003 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.
wanewrld Posted January 11, 2003 Author Posted January 11, 2003 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
andyjohnson Posted January 11, 2003 Posted January 11, 2003 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.
Recommended Posts
This topic is 7979 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now