Page 1 of 1

how to select valu of a dropdown for view in cakePHP?

Posted: Wed Feb 10, 2010 6:29 am
by indian98476
cakePHP issue

i have created a dropdownlist of values in a view....now i want to do a rent projection based on the selected values in the drop down. the drop down has values startmonths,stopmonths......so based on the value selected i want to call them in my new thtml view results file and display accordingly....

can anyone help me out?

Re: how to select valu of a dropdown for view in cakePHP?

Posted: Wed Feb 10, 2010 11:47 pm
by indian98476
working on someone's script mind you folks.!!!
now the problem i face is since i have written an array for startmonths and stopmonths as requested by the client for rent projection for particular period and passed through js the values to the php function....it works fine now......but now he wants to change the appearance of the front end again....it has got my mind boggling.....since the array i created for start and stop months wont get received in this new view file.....how do i call them? they wont even print out the selected value of checkbox here....

Re: how to select valu of a dropdown for view in cakePHP?

Posted: Thu Feb 11, 2010 12:04 am
by social_experiment
Could you please paste the code you are refering to?