Posted by a ceTe Software moderator
Hello,
It is not possible to activate the format functionality available in the form field when setting the field value programmatically. However, you can use the string format functionality available in .NET to format the string as needed before assigning it to the form field.
document.Form.Fields["effective_date"].Value = DateTime.Now.ToString("mm/dd/yyyy");
Thanks,
ceTe Software Support Team.