I've seen the help text and option to add Custom Attributes to fields and see that it was included in the release notes for Leap 9.1. However, I can't find any other details on how to use it, what does it impact, etc... Is there any documentation available on how to use this field?

A good find! IMO the purpose of a custom attribute is to store any auxiliary information (next to item's value).
I don't have Leap installed so I checked in Domino Leap 1.1.4 and found an undocumented (cc @Christopher Dawes ) method getCustomAttribute().
For example you can use it in an event to initialize/reset item value - in contrast to having constants hard-wired in JavaScript:
item.setValue(item.getCustomAttribute());
Hi everyone,
I found information and demo from leapsandbox site about it:
https://leapsandbox.hclpnp.com/forms/anon/org/app/d9ac1e3b-8ae7-4366-820d-95020dc504aa/launch/index.html?form=F_Form1&id=558fb6c5-a80d-4cbc-895a-8229c6e11b0f
Hope this helps.
Regards,
Jayve
Based on the other responses, I'm thinking that it might be useful during some of the functions that get ALL fields and tell it to only get fields based on certain attributes, but otherwise haven't thought of how to utilize that function. Still very curious what prompted it to be added.
Hi Jonathan,
I found a sample app from the wiki. You can explore Multilingual App as a guide on how you can utilize the Custom Attribute function:
https://hclwiki.atlassian.net/wiki/spaces/HDV/pages/552534224/Multilingual+Apps
It was built in HCL Domino Leap, but same idea in HCL Leap as well.
To setup, import two apps first:
Translated strings DB - an app that you can configure localization of the equivalent field labels and text per language (eg. English, Spanish, German). One of the configurable field is custom attribute:
App that dynamically retrieves language strings - From this app, once you fill-up the form, you have an option to swap desired language using "Select One" field. In onItemChange event of this field uses a service call to search for the equivalent field labels and text per language that was configured in Translated strings DB for display.
Example:
For more information kindly read the content of the wiki how it works. If you have help on how to test the sample app please let me know.
Hope this helps.
Thanks,
Jayve