Hi all,

I need to append the headers to specific attributes within a form from
an imported csv file, for example; I have a model which contain only
":name" field but csv file contain firstname and last name (csv files
are submitted by user ,so there is no control over file format ) CSV
file may look like
          FirstName,Lastname
          smith,paul
how can i drag the fields from the csv file into the correct column for
(:name as example you could drag the fields of firstname and lastname
and append them both to name),how user can select each header from a
column and attach the header to the form field.. is there any javascript
to do this.. if so can anyone share some links to get an idea

Thank u
-- 
Posted via http://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 rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to