Displaying 20 results from an estimated 11000 matches similar to: "setting tab order in a select form field"
2009 Nov 05
1
tabIndex not working for select or textarea in form_for
Hello all,
Maybe this is something easy to solve but I can set all my text_field
tabIndex by { :tabIndex => ''2''}. When I try to do the same for the
select or the textarea it doesn''t work. Is there something I''m missing?
Thank you.
John
--
Posted via http://www.ruby-forum.com/.
2006 Jan 13
5
Form field naming semantics question
Hi,
I have a question today regarding how the various form elements in
_form.rhtml are named.
I understand that for a database table "persons" with a column headed by
"name", then in _form.rhtml it will probably be like:
<p><label for="person_name">Name><br/>
<%= text_field ''person'', ''name''
2006 Mar 13
3
HABTM: two habtm''s between the same two tables
Imagine I want to track people, and the clubs that they belong to.
table people with columns person_id, person_name
table clubs with columns club_id, club_name
And I have the association table:
table clubs_people with columns person_id, club_id
Now I know how to do this habtm between the two, in order to associate
people with clubs that they belong to.
However my application also needs a
2013 Jun 10
1
Where Query in SQL
Hey all
I am trying to use where in clause in sql query in R
here is my code:
sql.select<-paste("select PERSON_NAME from UNITS where UNIT_ID in
('",cathree,"')",sep="")
where cathree is 1 variable with 16 observations as follows
UNIT_ID
1 205
2 209
3 213
4 217
5 228
6 232
7 236
8 240
9 245
10 249
11 253
12 257
13 268
14 272
15 276
16 280
but when i run
2006 Dec 07
1
Centos SATA PCI Card
Generator Microsoft Word 11 (filtered medium) Hi there,
I' m trying to build a home made NAS/SAN server using Centos 4. I have an old HP ML series server with support for IDE disks only.
So I thought that I could by some pci sata controller to use sata disks that are cheaper and faster than IDE' s.
My question is , does anyone have used the Conceptronic PCI Sata Card sucefully in CentOS ?
2010 Dec 16
12
Capybara + radio buttons
How do I select a radio button when both id and name are identical?:
<input type="radio" name="BILFPB.bilPremieUppgifterFI.under24"
tabindex="13" value="J24" checked="checked" id="forare">Ja
<input type="radio" name="BILFPB.bilPremieUppgifterFI.under24"
tabindex="14" value="N24"
2007 Feb 18
11
Tabulation with ENTER key
Dear all,
I think this can be interesting for others too. For a while I tried to
solve that problem - how to tabulate with ENTER/RETURN key too and not
only with TAB.
You know the problem - you are entering a lot of numbers from numeric
keypad but you need to go far left to press TAB. This prevents one-hand
data entry and prohibits web apps to be used by accountants, for instance.
Here is a
2010 Jun 02
0
Segmentation fault on paste a long text into Scintilla
Hi there,
In bundled samples\scintilla.rb, paste a long one-line text (see below)
caused segmentation fault
scintilla.rb:166: [BUG] Segmentation fault
ruby 1.8.7 (2010-01-10 patchlevel 249) [i386-mingw32]
However, It was Ok if not including last 100 or so characters (worked on
13100 characters).
Cheers,
Zhimin
-- text copied
<tbody><tr><td
2006 Jun 02
0
Take some field out of the tab order in a view
I am trying to set the NOTAB html option in a field helper
I have tried with:
<%= text_field(:variable, :attribute, {:notab => true}%>
But It doesn''t work.
Can somebody point me in the good direction?
Thanks
--
Posted via http://www.ruby-forum.com/.
2006 Oct 26
0
Prototype: focusFirstElement and tabindex -1 ?
Hi, I''m new to prototype but it seems like an EXELENT framework.
But I got a problem with the focusFirstElement when the first element
have a tabindex="-1" since when negative number the user are never able
to tab the element, so I would not want them to get focus on the
element either.
Is there really any time when a user want the set the focus on an
element with negative
2011 Mar 11
0
Add tabindex to country_select
How do I add tabindex to a country_select?
--
Posted via http://www.ruby-forum.com/.
--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
2008 Jun 17
0
how to set tabindex in date_select
<%= date_select(''user'', ''birthdate'', { :start_year =>
80.years.ago.year, :end_year => 12.years.ago.year } ) %>
work in rails 1.2.2
date_select(object_name, method, options = {})
I try many times but also didn''t know how to set tabindex in date_select
--~--~---------~--~----~------------~-------~--~----~
You received this message
2010 Jun 17
1
Problem with options_for_select
Hi,
I have a problem with the form select. In the value field I have the
generated html...
<%= f.select :brand_id,
options_for_select([[''Brands'', 0]] +
@search_brands.map { |b| [b.name, b.id]}),
{:id => ''cbxBrand'', :tabindex => (@tabindex += 1)} %>
This is the html:
<select name="search[brand_id]"
2004 Feb 13
0
Windbind_idmap.tdb problems
----- Forwarded by Nic le Roux/rohlig-grindrod on 2004/02/13 03:42 PM
-----
Hi All,
I discovered something to be wrong with the file winbind_idmap.tdb.
Receive lots of messages saying:
Feb 13 15:15:59 rh9printsvr winbindd[4201]:
tdb(/var/lib/samba/winbindd_idmap.tdb): rec_read bad magic 0x42424242 at
offset=119904
Feb 13 15:15:59 rh9printsvr winbindd[4201]: [2004/02/13 15:15:59, 0]
2006 Feb 09
1
Alternative take on Selenium in Rails
Hey there,
There''s been a bit of work going on with Selenium and Rails recently, so
I thought I may as well share what I came up with. Check out my blog
post at http://blog.viney.net.nz/articles/2006/02/09/selenium-testing,
grab the plugin and give it a whirl (be sure to read the README!).
Basically, my approach was to make it possible to write Selenium tests
in the same way that
2006 Feb 19
0
Selenium testing plugin
Greetings,
I''ve just finished a new release of my Selenium testing plugin with much
tighter integration to rails. The rake selenium step has been removed as
all tests are now live (just save your test file and refresh the
browser).
Install it with:
script/plugin install
http://svn.viney.net.nz/things/rails/plugins/selenium_testing
And check out the readme:
2007 Mar 05
3
Cannot save session in IE6
A search only returned this thread:
http://www.ruby-forum.com/topic/71970#101107
FF and IE7 both accept and store sessions as such:
--- !ruby/object:CGI::Session
data: &id001
:person_id: 1
:person_name: Bob
flash: !map:ActionController::Flash::FlashHash {}
But IE6 refuses to store the session and returns this:
--- !ruby/object:CGI::Session
data: &id001
flash:
2008 Jul 14
5
How can i use link_to_remote with in form_for
Hi
anybody plz help me how can i use link_to_remote with in form_for.. i
tried but no luck... if i use form_tag i can able to use link_to_remote
and made ajax call.but i need to use form_for ....can anyone help me how
can i do with this.Thanks in advance.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are
2010 Mar 03
6
Identify scripts connecting to the asterisk manager
Is there any easy way to identify which script or service is
connecting to the Asterisk manager? Somewhere on my system a script or
service is trying to connect with a bad user name or password. I get
the following error: connect attempt from '127.0.0.1' unable to
authenticate
I thought maybe I could do a tcpdump on port 5038 and try to fish out
the bad username or password but I
2005 Oct 14
0
Adding extra field in form using ajax causes extra field to be overwritten, any way around that.
I''m having trouble when I try to add another field in the form using ajax.
I''m trying to add another line_item object into the invoice and i''m using
the link_to_remote function to implement this. When I do that though and
submit to the form, the line_item entries all have the same field name so
they get overwritten. I''m not sure how to get around that.
Here is