if you change the $petbioForm->buildTextArea with
PHP Code:
$petbioForm->buildTextArea("petbio",$bio)->buildButton("Change Bio", "submit", "submit");
the current bio will be displayed in the text box that way if the user want to edit instead of rewriting the full bio
for this code to work you must also add the stripslashes code posted by parayna =)
in the end it must look like this:
PHP Code:
$bio = stripslashes($adopt->getPetbio());
$petbioForm = new FormBuilder("petbioform", "", "post");
$petbioForm->buildTextArea("petbio",$bio)->buildButton("Change Bio", "submit", "submit");
$document->add($petbioForm);
in case i dint explain well ^^