Home Community Mys-Script Creative Off-Topic |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Creating a drop down list within FORM to SHOW
My commented line is where my error is.
Ive tried a few other things such as $petField = new buildDropDownList("adopt", "AdoptTypeList"); I tried to see if i could hmm by-pass? the buildDropDownList and access the buildAdoptTypeList($name) directly so I tried $petField->add(new buildAdoptTypeList("test")); $petField = new buildAdoptTypeList("test"); none seem to work. i dunno. any help would be apreaciated. I can't seem to get an actual error besides " Internal Server Error 500" I can't seem to put error reporting on. I am not sure if mysidia has it turned off by default or its something else. Code:
public function add(){ $mysidia = Registry::get("mysidia"); $document = $this->document; $document->setTitle("TEST"); $explorerForm = new Form("addform", "add", "post"); $petField = new FieldSet("pet"); $petField->add(new Legend("Adding a Explore Pet")); //$petField->add(new buildDropDownList("adopt", "AdoptTypeList")); $petField->add(new Comment("Pet Chance:", TRUE, "b")); $petField->add(new TextField("textPetPerc")); $explorerForm->add($petField); $myButton = new FieldSet("Test It"); $myButton->add(new Legend("required?")); $myButton->add(new Button("Testing", "submit", "submit")); $explorerForm->add($myButton); |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Where is the formatting for form buttons? | Infernette | Questions and Supports | 4 | 06-18-2015 06:47 PM |
Drop Down List to Use Item Messed Up | Abronsyth | Questions and Supports | 4 | 12-30-2014 10:37 AM |
Too many drop down bars? | Infernette | Questions and Supports | 4 | 01-29-2013 04:01 PM |
Submit form | Cindykt | Questions and Supports | 2 | 08-30-2011 07:47 AM |
Alonaria - Human Form | alonaria | Art Gallery | 6 | 02-26-2011 11:09 AM |
What's New? |
What's Hot? |
What's Popular? |