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

Hi,

Can I define a repeating field in a script ? Like how we define the array ?

I will have different number of values each time.

I want to count the values .. say 3

array[1]=aaa

array[2]=bb

array[3]=cccc

then use the values from array. The number of values will vary each time based on how many products the customer orders.

I know we can define the repeating field in the table, but is it possible to define this kind of variable and assign the values in the script ?

I know that we can get the values from the repeating field using GetRepetition(variablename;#) or just variablename[#]

But how do we define that in a script and assign the value to it ?

Please help.

You can define one or more repeating VARIABLES in a script, take a look here:

http://fmcollective.com/2007/04/18/creating-multiple-child-records-from-a-list/#more-26

But since this question have landed in the "conditional formatting" forum, should you instead consider portalized views!

--sd

  • Author

That helps a lot. Thank you.

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.