Prevent Carriage Returns

Version 2




    Mac OS X, Windows
    Todd Duell
    FMP 9, 10, 11
    Formulations Pro
    Web: No
    File Type: FP7
    Server: Yes
    FileSize: ~ .66 megabytes


    This user interface trick lets you prevent users from entering a carriage return in a field without using any field validation or auto enter calculations. Enter layout mode and select the fields that should not have carriage returns. Choose Format>Field/Control>Behavior. Check the boxes for Go to next object using Tab key and Return key. This will retain the use of the tab key for navigation as well as cause the return carriage key to also act like the tab key. This is a handy trick to reduce the amount of code and error dialog boxes in your solution.




    Sample Input

    Sample Output

    Developer's Notes

    See sample file for full demo and technical article.


    FileMaker Inc. provides this content on an “As Is” basis, without any warranty, and subject to the terms of the FileMaker Technical Network Agreement. FileMaker makes no representations and is not liable for any content or related information. You may use the content as part of your own solutions and for your customers, but you may not otherwise publicly distribute any content that you did not submit. ©2009-2011 FileMaker, Inc. All Rights Reserved. FileMaker is a trademark of FileMaker, Inc. registered in the U.S. and other countries.