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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T05:56:12+00:00 2026-06-07T05:56:12+00:00

Originally, for a signup form on my site, I had this code for the

  • 0

Originally, for a signup form on my site, I had this code for the beginning of the form:

<%= form_for(@user)  do |f| %>

When I add this html id in the following code for the beginning of my form:

<%= form_for(@user, :html => { :id => 'payment-form' })  do |f| %>

The form no longer works.

Is there a way to still add the html id I specified above to my form while allowing my form to work? How can I go about doing that? Why doesn’t the form actually process when I hit ‘submit’ after I add the html id.

Thanks so much!

  • 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-07T05:56:14+00:00Added an answer on June 7, 2026 at 5:56 am

    Try <%= form_for(@user, :id => 'payment-form' ) do |f| %>

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

Sidebar

Related Questions

Originally I had my css .less file named Site.less.css so that intelligent type is
I am making a user signup app for an ecomerce site, but I have
I have the code below to advance through a multi-part form for signup. Need
Say I have an HTML form like this to collect an email from a
Originally I was merging two sets of results with code like this: var list1
Originally the code is like this: public interface IApplicableSystem { string Name { get;
Please consider the following signup: <form wicket:id=form> <div wicket:id=fooList> <input wicket:id=fooList.quxField type=text size=10/> </div>
Originally I had quite usual ajax form with json response: def create # created
Originally I had a design problem where I needed five subclasses of a superclass,
Originally I had two tables in my DB, [Property] and [Employee]. Each employee can

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.