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.

border of empty text field

Featured Replies

Hi,

I'm working with FM Pro 5.5. I've designed a Text field with a thin black border around it. In Preview mode I would like to see the border also when the field is empty, and this indeed happens if I don't use the Sliding Option on the field. On the other hand I need the field to slide up, so I have used the Sliding Options on it. But in this case the border disappears when the field is empty!

I've found a trick to solve the problem but I'm not satisfied about it because I need to add a calculated DisplayTextField to my DB just for printing:

If ( IsEmpty(TextField), " ", TextField)

In this way the DisplayTextField is just a "space" when the TextField is empty and I can always see my black border.

Is there a solution preventing me from creating all these "display" text fields? (I don't like it, because I have many other text fields that I should treat in the same manner...)

Bye,

Hi Frankie,

No need for a calc here. Use the toolbox instead. Draw your border with it and set its options for sliding up.

  • Author

I did it, but when the field is empty the field & border disappear. I would like instead to see the border and nothing inside.

I meant the rectangle tool from the tool panel, not the border tool. Choose transparent color and display the rectangle right behind your field, then select the slide options fro that object (or associate both field and rectangle).

  • Author

Thanks Ugo,

but the rectangle won't shrink to adapt to the text length, as the border does. Unfortunately I've text lengths that range from 1 line to more than 1 page...

Then your solution (validate by calc) is appropriate here I think.

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.