Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-27-2014, 12:49 PM
FounderSim FounderSim is offline
Member
 
Join Date: Sep 2014
Posts: 65
Gender: Male
Credits: 8,914
FounderSim is on a distinguished road
Default 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);
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -5. The time now is 11:12 AM.

Currently Active Users: 1764 (0 members and 1764 guests)
Threads: 4,081, Posts: 32,025, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636