Solved

Select Item from a field list FM11

Posted on 2013-12-23
3
456 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

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…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

623 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