The API has slightly changed in version 7.0. How to get on-line form data is described in in the article: Modifying the code of standard web parts.
The direct uploader field and its value is a little different and you can use the below API to work with this field.
void viewBiz_OnBeforeSave(object sender, EventArgs e)
{
// Find uploader in bizform.
FormEngineUserControl control = (FormEngineUserControl)viewBiz.BasicForm.FieldControls["attachmetField"];
if (control != null){
Uploader uploader = (Uploader)control.FindControl(control.InputControlID);
}
}
-it-