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.

Input value from 1 field and navigate to layout

Featured Replies

Senario.

I have a main layout.

It has various fields, 1 (one)of which has a repeating number field(7)[NAME].

Layouts 2 through to 8 are basically 1-8 paged duplicate layouts with a few common fields.

Reason.

If there is an entry in some of the repeating[NAME] fields, then i want to create a script to navigate to a corresponding layout. But i want the value(if any) from the [NAME] field/s entered into the other layout fields.

Why.

In the main layout i have the repeating field that may or may not have any values placed in them.

It can have values in any or all of the fields, but not necessarily in each adjacent field repetition.

If there is say 3 values out of the 7 fields entered (say rep 2,4,and 7) then i want to hit a script to print the main layout, then depending on the amount of values out of the possible 7 repeating fields, navigate to a layout with the correct amount of pages (which are layouts 2-8) (this instance is 3)AND (here's the senario needed)to input the values into this layouts fields.

In the above example there would be 3 values, therefore navigation is taken to a layout that has 3 pages, each with a field where each value from the main layout would be automatically placed.

Hope i explained this OK.

Any ideas how i can achieve this?

Corey....

The navigation part is easy:

- arrange your layouts in ascending order of pages;

- define a calculation field =

n + Count (repeatingField)

where n is the position of the single-page layout, minus one;

- in your script, go to layout (layout number from field)

The conditional setting of individual fields to values scattered in repetitions is another matter. I don't see how this can be accomplished other than by a complex script, explicitly covering every possible combination.

I believe it would be better to use a related file, where you can print each record on its own page. Instead of repeating field, you would have a portal, so the values would already be where you need them when you go to print.

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.