Solved

Select Item from a field list FM11

Posted on 2013-12-23
3
450 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Filemaker Display Images 1 269
change filemaker server web direct port 1 193
filemaker security information 1 56
Job Transaction Field totals 6 60
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…
Problem: You have a hosted FileMaker database and users are tired of having to use Open Remote or Open Recent to access the database. They say, "can't you just give us something to double-click on rather than have to go through those dialogs?" An…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

730 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