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.

Status(CurrentFieldName) question

Featured Replies

i'm trying to display a short help text for people who perform data entry using a calc field like this:

Case(

Status(CurrentFieldName) = "text", "Please enter text",

Status(CurrentFieldName) = "date", "Please enter a date",

"")

but nothing appears in the field. i could script it, but that approach has problems. why does nothing appear in the calc field?

If I understand what you want to do is have the field show "enter date" or "enter text" when a new record is created to let the data person know what goes in the field. So with a new record request the date field will read

[Please enter Date]and the data person would enter a date in that field. If this is correct this can be done by defining the field to automatic fill with "Please Enter Date" so any new record will have this in the date field.

The problem with that is this text will have to be deleted to enter the date in the field.

Create a calculation field to overlay the field in question. The calculation would test to see if the data field was empty, if so then "Please enter data..." when they tab or click into the data field the calc field will dissappear.

Set the calc field to not allow user entry.

Even if you check the "Do not store..." in the options of the calc field, it will only return the fieldname the cursor was in when you went to the record -- and if the cursor isn't in any field, the fieldname will be blank.

I'd change the calc field to a text field, then create scripts for the "date" and "text" fields that set what was the calc field to the proper message and then go to the field you want. Then assign the buttons to the fields.

  • 2 weeks later...
  • Author

quote:

Originally posted by Ocean West:

Create a calculation field to overlay the field in question. The calculation would test to see if the data field was empty, if so then "Please enter data..." when they tab or click into the data field the calc field will dissappear.

Set the calc field to not allow user entry.

this is closest to what i want. thanks everyone!!

Simpler but not as perfect would be to auto enter the text you want and turn the field into a button and create a script so that when you click on it, it clears the field and then puts the cursor in it.

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.