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.

Button in Portals

Featured Replies

I want to be able to insert text into a field using a button! I also want this text to be inserted were the cursor is currently blicking. No problem here I know how to do that, but as soon as I place the button in a Portal it only inserts the text at the end of the field, and not were the cursor was before. It is like it leaves the field when you click inside a Portal.

Is there anything simple I missed?

How do I get the inserted text were I want with my button in the Portal? Thanks for your help!!!

FileMaker Included a file called [color:blue] To Do List.fp7, in[color:blue] Templates - Business General take a look at it, and see if this will help?

Lee

  • Author

Lee, thanks for the quick reply! I looked at the file you mentioned but could not find any portals in the Database.

I attached a little Database that illustrates what I am trying to do.

Click somewhere in the large text field and then the button outside the portal and finally the button inside the portal. Do you see what I mean?

I also included my ulgy work around... were you select the text you want to insert before you place the cursor.

I hope someone knows a better methode! Thanks

Button_in_Portal.fp7.zip

Hi sebastian,

I don't have time to get into your solution itself, but do this: Add one script-step to the top of your script:

Set Selection [Field you want to insert text into ; 0 ; 0 ]

... meaning put 0 in Start and End positions. This will insert the grabbed text at the beginning. Is this what you want?

Upon re-read, you want to insert at the cursor. Okay, you must find the cursor location ... stand by for answer ... I think ...

LaRetta :wink2:

Edited by Guest

I could use such a device myself, but I don't think it's possible.

Field loses focus. It will work if User types a ~ where they want the insert, THEN runs the selection.

Sorry for any confusion, my post was meant for a different Thread.

Okay, give them shortcut CTRL-1 (or button) to mark their spot. Then run process (see attached). Not elegant, no. But it would make sense to the User.

I can't believe I missed that post of yours, Michael!!! :wink2:

BTW, you could use Find/Replace on the marker as well...

Button_in_Portal2.zip

  • Author

Thanks everyone!

Sorry I could not respond during the week, I was out of town. I will look into your solutions and will let you know what I do. Have fun!

I think I have a solution-- check the topic "portals and set find..."

--it is a little rough,

john

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.