Solved

Select Item from a field list FM11

Posted on 2013-12-23
3
445 Views
Last Modified: 2014-01-22
I have a field that contains a list of items each one separated by a carriage return. Is there a way that a user can go over the field and select an item from the list?
0
Comment
Question by:PachecoPrimo
  • 2
3 Comments
 
LVL 25

Expert Comment

by:Will Loving
ID: 39738357
I'm not sure what you mean by "select"… normally to select text in a text field you simply double-click on the word or drag and select the word or lines. If you mean you want the user to select a particular item in the list, then what do you want to do with it?

In FileMaker, you can create a value list based on the values in a field (see File -> Manage -> Value Lists) which can then be displayed as a drop-down list, pop-up menu, radio buttons (select one only), checkboxes (select multiple), etc. In FileMaker, as "list" whether for a Value List or as a key field is a text string separated by carriage returns.
0
 

Author Comment

by:PachecoPrimo
ID: 39741843
Hi willmcn,
What I want to do is have the user select the text and be able to run a script.  So if I have the following list:
FIELD_A
Apple
Orange
Strawberry

If the user selects (double-click) 'Orange', I want to be able to copy this value via script and then paste somewhere else.

Is this possible?

Thanks
0
 
LVL 25

Accepted Solution

by:
Will Loving earned 500 total points
ID: 39745050
I don't know of any way to trigger a script based on the user double-clicking with a field, since double-clicking already performs the function of selecting the word that you're double-clicking on.

You could use a Script Trigger that runs on: OnObjectValidate, OnObjectSave or OnObjectExit. The trick is that the use would have to tab out or click out of the field in order to activate any of those. The script could then perform a Copy script step (with "Select All" turned off) to copy the selected value in the field.

You could also have a small button next to the field that triggers the script that performs a Copy on that field (again with "Select All" turned off).
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
FM - Mouse Scroll 3 530
FM - Reducing height of rows in 150% Table View 11 90
Filemaker Pro 13 Adv - Label printing 17 316
Does Surface Pro 2 have a max broadband speed 18 121
Pop up windows can be a useful feature of any Filemaker database.  Though best used sparingly, they can be employed in a multitude of different ways, for example;  as a splash screen at login, during scripted processes to control user input, as pick…
Having just upgraded from Filemaker 11 to Filemaker 12 over the weekend, we thought we would add some tips for others making the same move.  In general, our installation went without incident. Please note that this is not a replacement for Chapter 5…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question