Home » Database » DB_DataObject_FormBuilder » Bug #7599
Inability to suppress submit button on submission
Details
| Submitted | 2006-05-10 20:36 UTC |
|---|---|
| From | sam at gothamjazz dot com |
| Assigned | justinpatrin |
| Status | Bogus |
| Package | DB_DataObject_FormBuilder |
| PHP Version | 4.3.3 |
| OS | Linux |
| Roadmaps | (Not assigned) |
Comments
[2006-05-10 20:36 UTC] sam at gothamjazz dot com
Description:
------------
I am unable to suppress the submit button after the form is processed. Shouldn't I be able to set createSubmit = false after the form is processed?
Test script:
---------------
$do =& new DO_VENDOR_RECORD();
$fg =& DB_DataObject_FormBuilder::create($do, $options);
$form =& $fg->getForm();
if ($form->validate()) {
$form->process(array(&$fg,'processForm'), false);
$form->freeze();
}
$form->display();