Solved

Select Item from a field list FM11

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

Expert Comment

by:Will Loving
Comment Utility
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
Comment Utility
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 24

Accepted Solution

by:
Will Loving earned 500 total points
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
Conversion Steps for merging and consolidating separate Filemaker files The following is a step-by-step guide for the process of consolidating two or more FileMaker files (version 7 and later) into a single file with multiple tables. Sometimes th…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

772 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now