Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Auto fill Address/City from Name

Featured Replies

I am new to FM and am stuck on auto filling out fields. I know what I'm trying to do is possible, just don't know how.

 

Let's say I have a list of Companies, CompanyA, CompanyB, and CompanyC.

 

I have in my layout Company NAME: ADDRESS: CITY: STATE: ZIP:

 

I want a drop down from Company NAME, Select that company, and have the Address, City, State and Zip fill in by itself.

 

Do I need a table for each company then relate them somehow? I've played with it but can't get it. 

 

Can someone walk me through this? Thanks!

 

 

Have you looked at Contacts.FMP12 in the templates came with your application?

  • Author

I just did. Doesn't look it uses an auto populate that I can see. No lookups

  • Author

Any ideas anyone? The contacts template does not auto populate at all. 

Without seeing your file. Two things I would suggest. 1. If you already have the info stored why store it again? Use a merge field showing data from a related Table Occurance that contains the company info. 2. If you do want to enter it again and it is not related for some reason, use a set field with executeSQL.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.