# setdef
> [HTML Version](setdef.htm)
_Updated and reviewed April 2013_
_setdef_ is is used for any of the following:
[List of Valid Inputs](listofvalidinputs.htm.md)
[Dummy List of Inputs](dummylistofinputs.htm.md)
[List of Paired Inputs](listofpairedinputs.htm.md)
[Date or Value Range Checking](dateorvaluerangechecking.htm.md)
[Form Field](formfield.htm.md)
[Character Acceptance List](characteracceptancelist.htm.md)
[Regular Expression](regularexpression.htm.md)
Note that since the typical length requirement for the _setdef_ string can vary widely, it is particularly convenient to map it as a dynamic string; see S and X variables in [Dynamically Sized Variables](dynamically-sized_variables.htm.md).
**See Also**
• [Invalid Input Message](invalidinputmessage.htm.md)
• [Setdef Limits](setdeflimits.htm.md)