using a "add option" for an accounts for to add a "contact" record if needed.
have 3 fields
userid, datecreated, createdby that need to be updated but don't need to be displayed
after hiding them in page Render, the fields are not updated even even by adding default values in the page_render or page_load events as:
the page_Render is fired after the loaddefaultvalues(), so you'd think these would stick.
function Page_Render() {
$this->CreatedBy->Visible = false;
$this->DateCreated->Visible = false;
$this->_UserId->Visible = false;
$this->CreatedBy->CurrentValue = CurrentUserID();
$this->DateCreated->CurrentValue = CurrentDateTime();
$this->_UserId->CurrentValue = CurrentUserID();
}
any way to update the fields with displaying them ?
thanks