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.

How broken are radio buttons in IWP/FMSA9?

Featured Replies

Using IWP publishing with FMSA9 on OS X.4.10 on a G5PMac, I have run into multiple problems using radio buttons and check boxes, particularly unpredictabler layout behavior in the browsers.

For instance, I am completely unable to see vertically oriented buttons, regardless of the size given to the field.

More seriously, certain field list values appear not to register at all in the browsers, although they function fine in the client.

For example: the list values No/Yes/? work fine, but No/Yes/Unknown leads to only the No button accepting any input, and changing to another value (in the browser) fails.

Moreover, if I choose other values using the FMP client, which works, the browser continues to display only the no value, even after logging out etc. Again, this does not change with resizing.

What is going on here?

This is a wel known problem:

http://network.datatude.net/viewtopic.php?t=125&highlight=iwp

--sd

  • Author

Søren,

thanks, we already discussed this layout problem.

I posted this mostly for the second, more serious issue of radio button behavior (not accepting/showing certain values in the browser), which is not addressed in your link and has me really stumped...

Edited by Guest

  • Author

I just wanted to add that I've found what seems to be the same behaviour desribed elsewhere:

the topic:

"Radio button value incorrectly reflects value of field in IWP" in the IWP section of the fmwebschool site (http://fmwebschool.com/frm/index.php)

is exactly what I'm seeing.

GENX is welcome to comment...

  • Author

In the FMwebschool thread, GENX suggested several throubleshooting steps, like trying a fresh list, new layout etc.

I finally went so far as to create a new file, with one (text)field, as only option validate by list with three values:

No

Yes

Unknown

In the layout, the field is set up a radio button linked to the above list.

I enable IWP, open it in Safari, and boom: only the No value is accepted/displayed, while the FM client happily shown Yes or Unknown.

I change the value list to

No

Yes

IDK

and everything works fine.... what the @#$%%@#$ :?

I'm not much of a web guy overall, but there has been discussion of this on the TechInfo list of FileMaker. Basically it seems almost as if IWP is doing a PatternCount() match rather than a "whole value" match like we would expect. It might be JavaScript who's responsible. I don't really know.

So "male" will match "female", because it's contained within it.

"No" and "Unknown" ("no" is in both)

About the only work-around is to always use terms that are completely mutually exclusive.

  • Author

Thanks Fenton.

Pretty scary the kind of stuff lurking below the surface.

But this almost sound like an explanation for why finds on radio button fields fail - note that my problem has nothing to do with finds - just simple data entry... If the IWP engine somehow running scripts that screw up when you hit the "submit" button in the browser?

I think it's an inadaquacy in the JavaScript. I mean, you could produce exactly the same problem within FileMaker if you used PatternCount() on a multi-line field, like a checkbox. The proper procedure is to surround both the target and the value with delimiters (usually returns), so partial matches do not happen. (Or use the Value functions.). It just seems as if they couldn't be bothered to do that with the JS in IWP, which is really a combo of FileMaker and JavaScript.

  • Author

Well,

I certainly don't understand the rules of this issue.

simply changing the listvalues to Unknown/No/Yes made the field behave normally...:

So I'm not sure what the "syntax" might be.

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.