I am working with radio boxes trying to save a specific value to the
Lcation.location feild in database.Here is the code I use
echo $form->radio('Location.location',array(1=>'Transfer Hall in the
A1900',2=>'N2 Vault',3=>'N2 Vault',4=>'S2 ,Vault' 5=>'S3 Vault' ).Each
proposal has many locations.This is what is being saved in the
database
Two problems the proposal_id  field always gets set to null and no
matther which radio button i choose a value of  6
is saved in the location

id   proposal_id location
'1', NULL, '5'
'2', NULL, '6'
'3', NULL, '6'
'4', NULL, '6'
'5', NULL, '6'
'6', NULL, '6'

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to