
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎Jun 10, 2022 11:01 PM
Im trying to use a form to add names to a field and have the following fields setup with single select choices that will randomly be chosen when the record is created.
im looking to make a NPC generator that fills in the choices for me after i put in a name

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎Jun 11, 2022 03:39 AM
Welcome to the Airtable community!
You can fill in a single select value using an automation. However, if you want to fill in the field in the new record with a random value, you will need to use scripting.
If you can wait until a human can get to it, you can use the Batch Update app to randomly fill in the single select value for all the records in a view at once without scripting.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎Jun 12, 2022 03:34 PM
How would the scripting look?

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎Jun 12, 2022 05:16 PM
I recorded a video showing how to writing a simple script that update a field with a random single-select value. In the video, I run the script upon record creation. You can choose a different trigger.
