Yes, it’s possible to add a hidden field with a unique ID in Bit Form!
You can achieve this using the Random String Smart Tag, which generates a 13-digit alphanumeric code automatically.
Add Conditional Logic on Form Load to populate a hidden field automatically.
Here’s how:
- Add a Hidden Field to your form (e.g., “Unique ID”).
- Go to Form > Settings > Conditional Logic.
- Add a new condition with:
- Trigger: Form Load
- Action: Set Value
- Field: Your Hidden Field (e.g., Unique ID)
- Value:
${_bf_random_digit}
✅ This will generate a unique 13-character alphanumeric code every time the form is loaded and insert it into the hidden field.
📄 Here’s the documentation for reference:
https://bit-form.com/wp-docs/others/smart-tags/#random-string
-
This reply was modified 11 months, 4 weeks ago by
wayes001.
-
This reply was modified 11 months, 4 weeks ago by
wayes001.
Thread Starter
Suki
(@sukinoz)
Thank you for your response.
Too bad the length and features are not configurable. In this case we need a code of at least 20 characters for an electronic documentation verification code issue.
(or shorter, to use it for example to generate codes to records as if they were support ticket numbers).