Welcome Guest, Not a member yet? Register   Sign In
htmlform dropdown problem
#3

[eluser]bEz[/eluser]
I presume you're you're using DMZ (Datamapper Extended Version).

Your code is written rather unorthodox to the example code provided with DMZ, however you don't need to add the "_id'

Remove it from both the validation and form_fields declaration:

i.e: Change
Code:
$this->data[‘form_fields’] = array( ‘com3_client_id’ => array( ‘list’ => $c ),
To
Code:
$this->data[‘form_fields’] = array( ‘com3_client’ => array( ‘list’ => $c ),


Messages In This Thread
htmlform dropdown problem - by El Forum - 11-26-2009, 11:53 AM
htmlform dropdown problem - by El Forum - 11-27-2009, 03:37 AM
htmlform dropdown problem - by El Forum - 11-27-2009, 06:16 PM
htmlform dropdown problem - by El Forum - 11-30-2009, 04:01 AM



Theme © iAndrew 2016 - Forum software by © MyBB