Displaying 20 results from an estimated 700 matches similar to: "Radio buttons refusing to load checked..."
2006 Jun 21
5
Rails application into HTML frames
Hey,
Just hoping I can get some pointers as I am completely new to Rails and
I have followed some tutorials to makes a database of data that I need,
but now I am completely stuck with how to make the Rails page appear
within my frameset. Hope that made some sense!
Thanks!
Bex
--
Posted via http://www.ruby-forum.com/.
2006 Jul 01
4
Radio_button in loop problem
Hi all, I can''t figure out why my radio_buttons won''t reflect the values
stored in my database. I read through some of the previous posts -- is
it true that they don''t work with integers?
This is the code I''m using:
<% for question in @survey.questions %>
<%= debug question %>
<%= radio_button ( "question", :question_id,
2006 Jul 19
5
SOAP on rails? Confused...
Hi,
Ive been struggling with the SOAP client things to do with rails as I''m
not sure how to do what I need to do. So far I have:
class SOAPclient < SOAP::RPC::StandaloneServer
def on_init
setup = gui_controller.new
add_method(setup, "submit")
end
end
server = SOAPclient.new("http://127.0.0.1:3000", "http://192.168.0.5",
8080)
2006 Jun 22
4
Shop plugin?
I hope I''m not completely off-base here but is there a shop plugin for
ruby/rails that means I don''t have to write the code for a shop from
scratch? Can''t seem to find one...
Thanks!
Bex
--
Posted via http://www.ruby-forum.com/.
2005 Mar 07
2
radio_button helper and "checked" option
Does anyone know how to get the radio_button helper to set the html
"checked" option?
Thanks,
Curt
2006 Jul 13
2
Simple dropdown menu
Hi, I''m quite new to this language and I''m having trouble finding out
simple things like a dropdown menu in rhtml. I know I have to use <%
select_tag %> but I''ve read lots of different ways to put in the options
so I''m a bit confused. Options are hard-coded for the menu I''m trying to
create so no database is involved!
Thanks v much!
Bex
--
2011 Nov 20
3
Use Ransack with radio buttons for boolean values
Hello
I''m trying to search for active and non active users. These radio buttons
work just fine except that it didn''t reselect itself after the form has
been submitted. So, what should I do to ensure it will be selected just
like how my text field populated automatically after the form has been
submitted?
= search_form_for @q do |f|
= f.radio_button :is_active_false, 1
=
2008 Mar 23
1
radio buttons - how to identify record using value?
I''m making a simple questionnaire app using RoR. I''ve got a model for
Questions, a model for Answers, and a third model, Qa, for matching each
question to five possible answers through foreign keys. So, each qa has
a question and five answers , a1-a5, through belongs_to and a
:foreign_key, and then a selected_answer field for specifying which
answer was selected by the user. The
2007 Feb 27
2
Dynamically add radio buttons to forms?
Good afternoon all
I''m trying to implement a form that dynamically inserts radio buttons
into a form. The user selects options from a drop-down menu. I use
observe_field to watch for a change and call back to render the
appropriate partial tha contains the radio options. All works nicely
but I''m tripped up on one thing:
When rendering a form using form_for how do I link those
2020 Jul 13
2
Fwd: Edit Access for Wiki Personal Page
resending as apparently I sent it to the wrong list.
---------- Forwarded message ---------
From: Brian (bex) Exelbierd <bexelbie at redhat.com>
Date: Tue, Jul 7, 2020 at 6:22 PM
Subject: Edit Access for Wiki Personal Page
To: <docs at centos.org>
Hi,
I'd like to be able to edit my personal page as I need to post a bio
related to my work on the CentOS Board.
Thank you.
2008 Jul 02
3
attachment in mail
How to do the attachment in mail like the yahoo and gmail does?
--~--~---------~--~----~------------~-------~--~----~
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-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
2006 May 31
2
Storing a NULL value from a radio_button
Hi, I''ve a boolean database field (tinyint(1)) wich allows nulls.
Then, I''ve something like this:
radio_button(''server'',''customer_has_login'',"NULL")
radio_button(''server'',''customer_has_login'',true)
radio_button(''server'',''customer_has_login'',false)
The problem is
2006 Jan 04
4
radio_button method does not recognize int values?
So the api listing says that radio_button(object, method, tag_value,
options = {}) gives a radio button tag, and if object.method ==
tag_value, then the button will be checked.
I verified the method behaves correctly for attributes of type string.
However, if the attribute is of type int, it doesn''t make the button
checked.
Does anyone have some information before I file a bug?
Some
2011 Jul 11
2
Pre-populating association
Hello,
I think this is an easy one for the average Rails developer but I''m a bit stuck.
I''m creating a simple voting app: any user can create a survey, with any number of questions, and other users can then vote by creating a ballot for that survey.
Here''s the modeling:
class Survey < ActiveRecord::Base
has_many :questions
has_many :eligibilities
has_many
2009 Aug 04
6
form_for
hi everybody...
I have a form_for in that, onclicking submit button i am calling
a javascript for validation.If validation fails that form_for doesnt do
anything.But even the validation fails it goes to the controller and
action.
here my code:
<%form_for :promotion_code,
2010 Sep 23
2
Creating 'trash' folder
This might well be OT; however, I thought I would ask anyway.
Please keep in mind that the IMAP server is Dovecot.
I have a friend who uses Becky Internet Mail
<http://www.rimarts.co.jp/becky.htm> on a Windows system. There us an
options under the configuration menu in Becky to create the trash
folder on the server. It suggest ".trash" for the name. He is aware
that I use Dovecot
2008 Aug 27
5
VALIDATION QUESTION
I''m trying to validate a record before save. I''m using one controller
in this case furnii where I have all my calls. The problem is that, the
form containing the field I''m trying to validate resides in the furnii
views. I tried to add validates_presence_of :content (the field name) in
both the furnii model and the ratecomment model but it does not work. I
know there
2015 Sep 24
1
How GSoC project can fit in to CentOS Docs
On 08/20/2015 02:57 AM, Karsten Wade wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 08/03/2015 12:52 PM, Fabian Arrotin wrote:
>> On 03/08/15 18:23, kunaal jain wrote:
>> Is that possible to have an overview of the infra and goals (aka
>> the architecture) of this GSoC doc project ? that would help
>> understanding, as I agree that I'm
2007 Sep 14
2
how to use options in radio botton
Hi I am using radio botton,I am struggling to use options..following is
my code..
<%=
radio_button(''community'',''default'',0,options={:checked,:onClick=>"javascript:set_default(this);"})%>
If i am using without checked option its working fine.If i use that its
throwing error....
Please help me
--
Posted via http://www.ruby-forum.com/.
2020 Jul 15
1
Fwd: Edit Access for Wiki Personal Page
Hi Alan,
On Mon, Jul 13, 2020 at 7:00 PM Alan Bartlett <ajb at elrepo.org> wrote:
>
> On Mon, 13 Jul 2020 at 11:07, Brian (bex) Exelbierd <bexelbie at redhat.com> wrote:
> >
> > resending as apparently I sent it to the wrong list.
> >
> > ---------- Forwarded message ---------
> > From: Brian (bex) Exelbierd <bexelbie at redhat.com>
> >