C: pre populate form