1 Reply Latest reply on Jul 29, 2013 10:40 AM by philmodjunk

    Email Addresses and Web urls

    rcluthe

      Title

      Email Addresses and Web urls

      Post

           Hi ~

           I'm new to FileMaker Pro 12 and have what is probably a very simple answer.  I have have looked around but to no avail.  I have fields in my DB.  One is the clients email address and the other is my clients web site.  How can i make it so that clicking on the email address brings up my email client and how do i make it so that when i click on the web url, i go to his or her web site?

           Thank you very much for your help.

           Rick

        • 1. Re: Email Addresses and Web urls
          philmodjunk

               To perform a script when a field is clicked, either use Button Setup... to turn the field into a button object or use the OnOBjectEnter scritp trigger.

               The text field with the URL can use the Go TO URL script step to open the specified web site in the user's default web browser. A web viewer on the layout can also be set to this URL.

               the Send Mail script step can be used with the field that contains an email address to open up a dialog for sending an email or that can do the entire send mail automatically with further input from the user. (Depends on what you need to have happen when the field is clicked.)

               IF you are using the same field for bothy URL's and email addresses, A script can check for the presence of the @ symbol to distinguish between URL's and Email addresses. PatternCount ( YourTable::YourField ; "@" )