Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8590271
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T23:15:27+00:00 2026-06-11T23:15:27+00:00

I am trying to find a way to add multiple records that will share

  • 0

I am trying to find a way to add multiple records that will share information without the user needing to enter the same information every time.

I am creating a library where a user can add a book. The form will appear:

Genre
Author

Title
Publisher
ISBN

I would like for the user to be able to fill out the Genre and Author, and then create multiple books under that genre and author without having to create the book one at a time and having to fill back in the Genre and Author. I would like the form to have:

Genre
Author

Title
Publisher
ISBN

Title
Publisher
ISBN

With the user being able to add and remove more “Title Publisher and ISBN” sections so that when the user clicks Create. It will create however many records (in this case 2) that will have the same Genre and Author but different Title’s Publisher’s and ISBN’s.
I am assuming this will need to be done in AJAX? I am a total newb when it comes to js and ajax so if you could point me to tutorials or something that will help that would be great. I am currently watching railscasts about nested models forms: http://railscasts.com/episodes/196-nested-model-form-part-1 but this deals with multiple models. This is just one which i would think would be easier but just do not know what strategy I should be looking for.

Thanks
Jon

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T23:15:28+00:00Added an answer on June 11, 2026 at 11:15 pm

    I installed Nested_forms by ryanb
    https://github.com/ryanb/nested_form

    This does what I need it to.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to find a way that will add / update attribute using JavaScript.
I am trying to find a way to add content to a div that
I'm trying to find a way to add an element to an array without
searching around trying to find a way to add index on suffix of a
I'm trying find a way to have PHP to indicate to the browser that
I'm trying to find more information about how nHibernate decides how to batch multiple
I'm trying to find a way to add a class to a td based
In brief... I'm trying to find a way to add some attributes to the
I am trying to find a way to add a cross-browser compatible scrollbar to
Trying to find a way to remove blank pages from a document I wrote

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.