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 8522199
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T07:03:01+00:00 2026-06-11T07:03:01+00:00

i am trying to submit a hidden form that contain the per_page and current_page

  • 0

i am trying to submit a hidden form that contain the per_page and current_page details as a param values for paginating the search results , but the same view page contain the search form also . but while submitting the hidden form by using .submit() method in AJAX for paginating the search results i am getting conflicts between these 2 forms . could any one please tell what we need to care about while using 2 forms in one view page in Rails .

  • 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-11T07:03:03+00:00Added an answer on June 11, 2026 at 7:03 am

    No you can have n number of forms, but they should not be nested.

    your html should be liek foloowing

    <form id="form_1">
    </form>
    <form id="form_2">
    </form>
    
    |
    |
    |
    
    <form id="form_n">
    </form>
    

    and to submit form_1 using jquery use .submit method of jquery as following

    $('#form_1').submit()
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Im trying to submit a specific form programatically, but I allways get the initial
I'm trying to submit a form entry with an uploaded file, but I can't
I'm trying to submit a form on an .asp page but Mechanize does not
I have a form that i am trying to submit after the page loads
I'm trying to submit a form with javascript. Firefox works fine but IE complains
I am trying to submit a login form on a web page that looks
I have a form that I am trying to submit with POST. When I
I'm trying to submit a form (it's a dynamic form with fields added via
I'm trying to submit a form when a select changes using jQuery Mobile. I
i'm trying to submit my Ajax form using jQuery. However calling the submit() function

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.