setFieldRandom

Sets a field value to a random value.

Parameters

field

the field to modify