Thanks for the pointer Marnen, i shall try it out.

- S

On Jul 20, 10:15 pm, Marnen Laibow-Koser <[email protected]> wrote:
> Sachin wrote:
> > Hello Gurus,
> > I have a form which has a phone_no field. I want to provide 3 text
> > fields to user to split and enter the phone number in country_code,
> > state_code and the number which will be contacted and entered in to
> > the phone_no field with some delimiter (-)
>
> > The same functionality will be for address_1, and address_2 fields,
> > which will be merged in to a single address field.
> > any pointers suggestions to implement this functionality.
>
> Just munge the strings in the model's before_save or constructor.
>
> > Thanks in advance
>
> > - S
>
> Best,
> --
> Marnen Laibow-Koserhttp://www.marnen.org
> [email protected]
> --
> Posted viahttp://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to