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.

Featured Replies

Hello

I managed to insert fieldnames into a word file, which MBS is able to find using the "WordFile.FieldNames" function. However if I want to set a value into one of those fields, MBS throws the following error "[MBS] Failed to find field: Test03".

I also tried combing controlfields(this is what the MBS plging is calling fieldnames)  with "text form fields". But nothing,.....    :)

Questions

  1. How do I have to setup a word file, in order to effectively use the "WordFile.SetFieldText" function correctly?
  2. Is it possible to set a "true" value for a checkbox using fieldnames? If so...  please tell me too :)

 

Thank you :)

Have a nice day

Robert

Edited by Electric_Soul

  • Author

It looks like the MBS plugin does not work with all content controls. With the following Word Version image.png.b506f69e9b1a65c47fe3d29d4c6ad6ed.png this text control works.

image.png.39d1f565afea1d6a19cc1e7f376bced3.png

 

But you must name the control here.

image.png.699d1a581e3c6d61d99fe9e3ccd2c31c.png

 

  • Author

Ok...   so I managed to set checkboxes too :=)

First of all. Do not use leagcy controls.

image.png.fcad9be7ba579c28b062cd1180710c79.png

If you need to set a checkbox, use the WordFile.SetFieldText function, to obtain the value from a already set checkbox. MBS plugin has an example fmp12 files, to help out.

image.thumb.png.82e1a8a2dae36e70e48981b4abd58627.png

 

However setting checkboxes seems flawed. If you open a word file that was manipulated with MBS and you click on a checked checkbox, you'll notice than the checkbox is not being unchecked. Only if you click twice. You could also set any characters into the checkbox field. If you'd click on those characters, then they'd be replaced with the checkbox sign. I'd say this basically means, that the checkbox is not being set at all. But it looks like it.

So... not ideal, but enough for my purposes.

Edited by Electric_Soul

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.