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.

Text Templates open by Button

Featured Replies

I am trying to develop a DB using FMP7.0 which will allow me to select a template of text with the use of a button. I have probably 20 different templates I need to be able to select from (1 per occurence) and have them displayed in a text field. I can't seem to get around this in terms of setting up the file. Any help is appreciated!

Hi Spiro and welcome

Set up a seperate table with only one text field per record. Create 20 records and store your template texts in there.

Create a relationship between this file and your main file. Make it a cartesian relationship (ie match any field to any field and use the 'X' operator in the relationship graph).

This relationship is created simply so that you can view these template records from your main file.

Now in your main file you need to create a portal that shows records from this relationship and place the text field from the template file in the first portal row. Also place a button in the first portal row.

Now whichever record you are on in the main fle you should see a full list of your template texts.

This explanation is now getting a little long winded so I have decided it would be quicker (and probably a lot more helpful) to do a dem file.

See attached and hope it helps. If you need any further help get back to me

Phil

template_example.zip

  • Author

Phil,

Thanks! That is exactly what I was looking for. Couldn't get the "old noodle" around it. Your help is appreciated tremendously!

Spirodoc

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.