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.

Multi-valued Script parameters

Featured Replies

I'm trying to pass on several fields into a script parameter to be picked up in another file. One of the fields may contain hard returns which I would like to keep in, so I use & "^" & to delimit the fields.

This induces the problem that my usual method:

GetValue (Get ScriptParameter) ; 2 )

can no longer be used and I am puzzled how to parse out my fields using the ^ delimiter. So far all my attempts fail to work and I am calling the forum for help.

... and enjoy 2007 !

I am not sure this is the best method to pass multiple values in a script parameter*, but you could use a calculation like this to extract the n-th value from a string delimited by "^":

Let ( [

text = "^" & string & "^" ;

start = Position ( text ; "^" ; 1 ; n ) + 1 ;

end = Position ( text ; "^" ; 1 ; n + 1 )

] ;

Middle ( text ; start ; end - start )

)

---

(*) see here

  • Author

Thank you both for this help.

I had the example file downloaded several months ago but just completely forgot about it.

... time to built a FAQ database for myself, what?

I'm trying to pass on several fields into a script parameter

But chances are that referential integrity is buried underneath heaps of nifty scripting. If a lot needs to get copied ...does it talk in favour for getting broken up in relational structure!

--sd

  • Author

You are right Soren, but this is from a customized file to a standard solution file and I like to keep that communication as generic as possible to be able to use the standard solution with multiple clients in an uncompromised way.

There were a couple of Custom functions (one my own) for parsing script parameters. Mine used a "var1=value1; var2=value2" syntax that you could modify to your own characters.

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.