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.

Newbie question...graphic based on popup?

Featured Replies

this is really rather embarassing..but I can't figure out how to have a graphic appear in a container based on a user's selection in a pop up menu..

for instance if a user selects one...a checkbox graphic appears in the container field next to the popup field...etc..etc...

any help is mucho appreciated...I know this is a simple one...but I'm missing something...because I get no love from my current container...

use a calculation...with a case statement...with the result of the calc a container...the result choices will need to be separate container fields to hold the graphics...

  • Author

thanks for the reply..

do you have an example by any chance? I'm not sure how to go about structuring that script..

I need multiple containers for the graphics? I was hoping I could have the result of the popupmenu appear in one container...to show a red X for no and a green check mark for yes...etc..etc..

I think I'm a little confused as to how I would implement your suggestion..sorry to be so obtuse...I'm a web programmer..if this was PHP..I'd be all over it.

You do not necessarily need multiple global container fields to hold the graphics. You can use a single global container defined to hold multiple repetitions, then put your global on a layout, format it to display all repetitions, and then copy/paste a graphic into each repetition in Browse Mode.

Your calculated container field will then look something like

Case(

popupField = "this", globalcontainerField,

popupField = "that", GetRepetition( globalcontainerField, 2 ),

popupField = "the other", GetRepetition( globalcontainerField, 3 ) )

if you want, for example, the first repetition to be displayed when popupField contains "this", the second repetition to be displayed when popupField contains "that", etc.

In version 7, you can also use the globalcontainerField[2] syntax in place of GetRepetition( globalcontainerField; 2 ).

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.