Populate the Default Value of a Field Using PHP

You can use WS Form functions to dynamically set the default value of fields.