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.

using a button to export field contents?

Featured Replies

Hello everyone.

I'm trying to create a button that will move the contents of one field into another. Is there a way to do this? i have done anything with scripts yet--is that the way to get it done?

thanks

Hi chasm24, and welcome to the Forum.

Short answer - Yes.

Maybe if you told us why you need to do this, we can help you better.

Are you moving the data, or wanting the data to be the same in both fields. Would a relationship and a portal do what you want to do.

The best approach would be to explain what you have now, and what you want to accomplish. That is, what is the script suppose to do. This could be something as simple as Copy/Paste, or more involved as Set Field, Insert Calculated Results, Replace, Clear, etc.

HTH

Lee

Sure. It's a fairly simply process.

First, create a new script. Inside the script, use the SetField function -

Setfield [field1; field2]

Basically, this will copy the contents of field2 to field1. That is, supposing that both fields are the same 'type' (text, number, date, etc....). If not, you would need to use other calculation functions. If you wanted to actually "move" the contents, then use the clear function on field2 in your script.

Then create/assign your button to run the above script.

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.