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.

Scriptmaker and paragraph setting

Featured Replies

I have a script that add content to a field; something like this: set field [target field; target field & source field]

I'm looking for a way to use a different text format for the new content i'm adding. I don't have problems changing font, size, style, but i just don't know how to change the "paragraph" setting with the script.

This is a printing form, it's a text field with a set field of every related information I have in my DB. What I want to do is add content with different margins to a field while keeping what is already in the field the way it is. Basically, i'll have a part of the content with 0.20cm margin, and another part with 1.00cm.

How can i do that? Is this possible? Is there a way to have 2 different paragraph settings for one field?

Thanks

No, this is not possible in a single field.

When you use one of the Text formatting functions, you are adding styling information to the text itself.

IOW, you are modifying your DATA.

Filemaker does not support paragraph styles as part of the stored data. So all paragraphs in a field take on the paragraph style as defined for the particular field instance on the layout.

You CAN do this with two or more merge fields in a single text object - see attached.

Untitled.fp7.zip

  • Author

That's very interesting and usefull.... Thanks

I have a question though: is it possible to do a conditional merge field? or to define a merge field in a script?

Sometimes i want info in a particular field to be included, and sometimes i don't (even if there is info in the said field).

Thanks

It's not possible to merge a field conditionally.

However, it is possible to make the content of a calculation field conditional. Then you can merge the calc field instead.

  • Author

Great! That's going to work like i want it to.

Thanks a lot!!

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.