This is a migrated thread and some comments may be shown as answers.

Dropdown does not Submit any value

0 Answers 89 Views
DropDownList
This is a migrated thread and some comments may be shown as answers.
Nico
Top achievements
Rank 1
Nico asked on 23 Apr 2012, 03:27 PM
Hi,
i have a problem with the dropdown-box. It does not submit any value.
My Form looks like this:
<form action="/setseeker/users/add/" id="UserAddForm" method="post" accept-charset="utf-8">
	<input type="hidden" name="_method" value="POST"/>
<span class="label">Mail</span>
	<div class="input text required">
		<input name="data[User][email]" maxlength="255" type="text" value="" id="UserEmail"/>
	</div>
SOME OTHER FORM ELEMENTS
	<span class="label">Pro Nutzer</span>
	<div class="input select">
		<select name="data[User][ispro]" id="UserIspro">
		<option value="0">Nein</option>
		<option value="1">Ja</option>
		</select>
	</div>

	<div class="submit">
		<input  type="submit" value="Erstellen"/>
	</div>
</form>
The Post looks like:
Array
(
    [_method] => POST
    [data] => Array
        (
            [User] => Array
                (
                    [username] => 
                    [password] => 
                    [email] => test@web.de
                    [newpassword] => 1
                )

        )

As you can see, there is no value for
<select name="data[User][ispro]" id="UserIspro">


I dont know whats wrong. I hope someone of you may help me to fix this error.

Thanks
Nico

No answers yet. Maybe you can help?

Tags
DropDownList
Asked by
Nico
Top achievements
Rank 1
Share this question
or