A little card. A lot of reassurance. Help from The Card Project UK.
The Card Project UK
PersoFiles · Script reference

field.set

← All fields commands

field.set

Set label, key, type, required, visible, startBlank, defaultValue or format. Formats accept final |U (uppercase), |L (lowercase) or |P (Proper Case) hints. Booleans must be true/false. Renaming updates bindings; changing a bound field type is rejected.

field.set key property value

Examples

field.set holderName visible true
field.set holderName format "Member: *"
Scripts edit only the loaded draft. They do not save, publish releases, delete assets or execute JavaScript. A successful run is one Undo step. Failed runs apply no design edits. Reference syntax is inspired by CFQL assignment/separators, not a promise to execute every legacy CFQL command.

Scripting engine 1.0.0 · This reference is generated from the implemented command catalogue.