Skip 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.

SetField with calculation based target

Featured Replies

Hi guys

I have made a little popup numberpad, and i want it so that when they press a button in the popup numberpad it inserts the value entered into the field where the original button (to pop the number pad) was set. So basically i need to use setfield or insert calulated but need to be able to dynamically set the target field. cant see any way of doing this, am i missing something?

cheers

ben

  • Author

i guess another workaround would be just to be able to put the cursor in the field that was clicked? any way of doing this?

  • Author

hmmm well this works

Go to Field [ ] [ Select/perform ]

Go to Next Field

Loop

Exit Loop If [ Get ( ActiveFieldName ) = Get ( ScriptParameter ) ]

Go to Next Field

End Loop

only prob is when i have fields in a portal, it just goes to the first portal row, even if the field i clicked was in say row 4!! arghhh

wish filemaker would add this as a feature, as well as being able to hide objects in layouts through scripting. Would have thought they would look at stuff like this before they start doing web page panels etc. hey ho

Edited by Guest

Hi Ben,

"I have made a little popup numberpad"

I'm unclear on how your numberpad was created. When you say popup, what do you mean? It sounds like you are overcomplicating here but I can't visualize what you have. If the numberpad is comprised of buttons, why not attach a script parameter to the button and, when clicked, pick up that value in your script?

Why don't you explain what you want to accomplish and see if we can add some clarity to your attempt or confuse you further? :wink2:

LaRetta

This can also be one of the places where a repeat can be useful; and you CAN target a specific repeat dynamically.

This can also be one of the places where a repeat can be useful; and you CAN target a specific repeat dynamically.

Wow, did Hell freeze over, or did Bruce just find something he likes about repeating fields?!

I had the same notion of a stolen identity yesterday, when seeing his ...fatalistic response in this thread:

http://fmforums.com/forum/showtopic.php?tid/179354/post/217864/#217864

Which is more the way Queue's or Transpower's advices were given - "Give the people what they wan't" kind of attitude.

--sd

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.