Field Defaults for new record

Hi

I want to set certain fields to default values when a new record is created.

I put the code in the onNewRecord method, but it doesnt run this code at all, when you click on the new button of the toolbar
any pointers to where I am going wrong?

Hi Sini,

Best is to overwrite the function ‘dc_new_post’ on your form.

Hi Sanneke

Thanks