I mentioned above you shouldn't use this method in the EditForm.aspx because it will edit every record you open with that form. There's no need to have a default value for an edit form. You have that in the NewForm.aspx because you're dealing with a new record. Once the record is saved, the defaults are no longer a factor. The saved data is what it is.
↧