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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T02:47:32+00:00 2026-06-13T02:47:32+00:00

This is a generalized question. I’m not asking one to write any code for

  • 0

This is a generalized question. I’m not asking one to write any code for me, I just can’t quite wrap my head around this.

I know about f.button but from what I can tell that just acts as a submit button and refreshes things. I’ve also tried button_tag, but I can’t get that working properly either.

I have a Rating form that user’s use to submit information (duh). I have 3 different categories that a user can rate “Good” “Ok” “Bad”. The “Good”, “Ok”, “Bad” I would like to be buttons that the user can click and then once that form is submitted this rating goes into the database next to the category. Each time a user submits the rating form they will rate all 3 categories as either “Good”, “Ok”, “Bad”.

A rating belongs to a user and a user has_many ratings.

Example When someone submits the rating form I’d want it to look like this:

ID  Category 1      Category 2     Category 3    User ID
1    Good              Ok             Good         1

Does this make sense? Is this possible to do?

  • 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-13T02:47:33+00:00Added an answer on June 13, 2026 at 2:47 am

    jQuery UI offers some wrapping for standard radio buttons that makes them look like a single button split into several parts. See the radio button section of the button demo:

    http://jqueryui.com/button/#radio

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

Sidebar

Related Questions

This is a silly question, but I can't seem to wrap my head around
My generalized question is this: how do you write asynchronous code that is still
I apologize for asking such a generalized question, but it's something that can prove
I am using the jQuery-File-Upload widget (although I believe this question can generalize to
This is a generalized version of a previous question regarding Sphinx . Is there
This could probably be generalized to any templated class, but I've run into this
this might be a silly question but I am not getting it. I tried
This may be a very generalized question but had anyone has much luck with
this may be a dense question and I'm not finding it to be a
this is my first question in here, and I would like to ask if

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.