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.

Displaying the "Other"

Featured Replies

Hey agian. . .

Problem: Using checkboxes, need to display text user inputs when using "Other." Solution is simple with radio buttons, but not so much with checkboxes since more than one can be chosen.

Work with me on this example:

Field A: Checkbox: items; "A" , "B" , "C" , "D" , "Other"

Field A Other: Calc:

If(Field A = "A" or Field A = "B" or Field A = "C" or Field A = "D", "", Attachments)

This doesn't work because if item "B" and Other is selected then it would view as

"B

OTHER INPUT"

Tried calc:

If(Field A = "A" or Field A = "B" or Field A = "C" or Field A = "D", "", If(WordCount(Field A) = 1, Field A, Field A & Substitute(Field A, "A", "") & (Substitute . . . etc etc.

This would work if and only if either only One item is selected, or if One item and Other is selected. Else it shows the first option chosen.

OK, as always, i am sure that i'm going about the hard way seeing as i always make this stuff difficult. Any help would be greatly appreciated.

'/4F|234><

How about making "Other" a value on the value list (don't use the "other" field format option), then using the portal trick to unhide an entry field "OtherEntry" when the checkbox for "Other" is checked. Create a calculation fields:

Constant (calculation, number, indexed) = 1

PortalEnable (calculation, number, indexed) =

PatternCount(Field A, "Other")

Define a relationship: SelfPortal with PortalEnable <--> Constant

With this method the data in the OtherEntry field is isolated and available for use. This data can also be combined with the data in the checkbox field into another calculation field to give the same result you would have had with the "Other" field format item. -bd

  • Author

well. . .

no good. The portal will hide the contents until no fields are active. Tabbing out of the field keeps the next field active. Clicking on the next field keeps the content hidden as well. Only when i click outside of the fields will it show.

Besides, i would prefer that the "Other" value would still be present in the original field. I know that i could simply make a new field that is a calculation, and i planned on doing that, but since the Portal Hiding doesn't work then i'm still looking for something else. . .

Thanks for suggestion though. Any other ideas? If i come up with something, i'll elighten all.

'/4F|234><

The approach I gave you will work (I tested it). Make sure the field in the portal is not a related field. It should be "OtherEntry" NOT "SelfPortal::OtherEntry. If you can't make it work, I'll send you the demo file. -bd

  • Author

well, again, i've done all that, and used this method many times to hide things, however, the field doesn't show until i click out of an active field. As long as ANY field is active, the OtherEntry field remains hiden. I guess go ahead and send it, maybe i'll see something i didnt see before.

thanks for your help

jeremy

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.