Hi,
I m trying to edit contact info.. all other data other than radio button
are getting reflected in edit page .. But the same works fine while
creating new contact i.e it allows only one email id to be set as
primary but the same not working in edit.. it allows user 2 select both
radio
% form_for (:contact,:url={:controller='contact',:action =
'update',:id = @contact},:html= {:onSubmit = 'return validate()', :id
= 'savecontact'} ) do -%
.
.
.
.
table cellpadding=4 cellspacing=0 border=1 width=100%
class=details
tr th colspan=4 align=left bgcolor=#797ba8strongfont
Frederick Cheung wrote:
On Nov 12, 5:18�am, Raji Mani [EMAIL PROTECTED]
wrote:
issue is how do i differentiate radio buttons with the same name.. both
the radio buttons are getting selected :(.. here is the code
the builders yielded by form_for and fields_for have the same name, so
Hi,
I have view page which takes all the information like contact's emails ,
phones no's etc and saves different tables. I want to save more than one
email id's for a particular contact.
view page is something like this..
.
.
Email 1 :
%= select 'email', 'email_type', %w(Business Personal),
Frederick Cheung wrote:
On Nov 11, 9:46�am, Raji Mani [EMAIL PROTECTED]
wrote:
Hi,
I have view page which takes all the information like contact's emails ,
phones no's etc and saves different tables. I want to save more than one
email id's for a particular contact.
view page is something
5 matches
Mail list logo