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.

Populate variable from outside script (no field)

Featured Replies

I’m tying to make a script that creates x number of records. That number relays on a variable.

 

Is it possible to populate a variable directly? I mean is it possible to make that the script asks me... how many records do you want to create? and let me enter a value, or do I need a field (so a table-layout) to set the value to populate the variable?

 

Thank you.

The "show custom dialog" script step has an input option to do exactly what you have in mind.  The input goes into a field, you can use a global field for that so that it will work context-free,

  • Author

Thanks for your answer Wim Decorte.

 

 

The questions was if can be made without the use of a field.

 

I don't want to make another table just for that, or maybe I should make one only for general purposes.

Try something along this script:
 
Enter Find Mode [ Pause ]
Set Variable [ $var ; Value: Get ( ActiveFieldContents ) ]
Enter Browse Mode [ ]
Show Custom Dialog [ $var ]

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.