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.

Set a dotted underline by character, not by field length

Featured Replies

(I wasn't exactly sure where to post this but since it has to do more with appearances than anything else, I hope I chose the correct forum; if not, my apologies.)

 

I have a calc field that's a record counter for portal records, e.g., "1 / 9". In my style sheet for the solution, field labels that have scripts tied to their respective field have a dotted underline so users can see that there's a something special about that field label.

 

The problem is, fields are static in length but the record counter can vary its width based on the number of records: 1 / 9 is markedly shorter than say, 138 / 385. What I'd like users to see is the dotted underline appear the length of the text/number string only, not the entire field width that's set to accommodate "### / ###" records.

 

Example:

 

Want:     1 / 9

 

Don't want: ___1 / 9

 

(There's no dotted line choice for posts here so I used the native solid underline character.)

 

As you can see, it looks a little funky to have the underline extend beyond the counter when there aren't enough characters to take up the whole width of the field. Is there a way of doing what I want? TIA for your help!

One possibility is to put a merge field on the layout and format its Inspector > Appearance > Text > Style as 'word underline'.


You don't get the dotted but you get solid line per word.

What I'd like users to see is the dotted underline appear the length of the text/number string only

 

That's not possible, because "dotted underline" is not a text style.

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.