Jump to content


Dropdown Set Value On Field

Dropdown

  • Please log in to reply
No replies to this topic

#1 nungadi28

nungadi28

    Newbie

  • Members
  • Pip
  • 6 posts

Posted 19 April 2018 - 07:53 AM

Hello Everyone,

Im get confuse  :D

 

 

I Have this table

table colorid

id | set_nu | one | two | three

1     23         red   green  blue

 

table savecolor

id | colorchoose

 

 

i am try using set relation

$crud->setRelation('set_nu', 'colorid', '{one}-{two}-{three}');
$crud->displayAs('colorchoose','Color');
 
that success while show red-green-blue on dropdown
 
how to save the color one two three on colorchoose with just one selection ex: i just want pick the red color with set_nu 23
using setfield checkbox after select set_nu
can anyone help me

Edited by nungadi28, 19 April 2018 - 02:18 PM.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users