Displaying 20 results from an estimated 1200 matches similar to: "HABTM / Dropdown Help Needed"
2007 May 28
2
Alcatel - Asterisk setup
Hi all:
We are looking for someone with experience in Alcatel PBX - PRI -
Asterisk integration
Please get in touch off list.. We're wanting to hire a professional
subcontractor, developer or company to get around some issues like these:
Asterisk shows PRI to Alcatel is up, but when trying to dial from
Alcatel to Asterisk results in a disc tone
(Asterisk do send calls properly into
2006 Mar 31
6
Split Validations?
I have a single table that two people enter data into. Person A creates
the record and I need to specify certain required fields in his form.
Person B has a separate form and she fills in additional fields and I
need to specify that some of these are required.
Since the data is all in one table and since the validations are in the
model, won''t Rails complain when person A tries to
2006 Mar 16
6
How to have multiple fields appear in collection_select?
I have a table of employees with the fields "last_name" and
"first_name". I would like to populate a collection select so that what
the user sees in the drop-down is "Last Name, First Name". So far, the
only way I have figured out to do this is by using "find_by_sql" in my
model, like so:
@employees.find_by_sql("SELECT id, concat(last_name,
2006 Mar 22
2
Radio Button Defailt Value?
I have:
<%= radio_button ''foo'', ''bar_id'', ''1'' %>
<%= radio_button ''foo'', ''bar_id'', ''2'' %>
<%= radio_button ''foo'', ''bar_id'', ''3'' %>
I would like to have option #3 be selected if foo.bar_id is nil. Is
there a way to do
2006 Aug 06
1
Newbie: populate 2nd dropdown list based on user''s selection in 1st dropdown list
Hi,
I am creating a form that a user can post a message based on his
selection on category and subcategory. (A category has many
subcategories.)
How do I dynamically populate subcategory dropdown list when user
chooses a category from category dropdown list?
Thanks in advance.
--
Best regards,
Ming Ma
2002 Aug 22
1
window "placement"
Using Thomas Baier's DCOM server I can do the following (in Windows 2000):
I create a slider in Excel, and the sliders On_Change event triggers a
call to R.
This call redraws an R graph, and so I have animated R graphics controlled
by Excel's slider.
The problem is that Excel needs focus so i can grab the slider, and
therefore it partially covers
R's graph window.
Is there a way to
2006 Jun 05
2
dropdown
I''m using a dropdown on my form for a simple cms which displays the
pages from the database. I want to add some options to the dropdown
that are not in the database. Is there a way to do this?
Here''s my code so far:
<p><label for="navigation_link">Link</label><br/>
<%= select("navigation", "link",
2006 Jan 09
2
catch id from form and copy between objects
Hi all,
Not completely sure what I''m doing, but I need to get data from another table
based on and id. Below is some breakpointer output:
irb> @params
=> {"project"=>{"project_description"=>"point2", "project_name"=>"break2"},
"action"=>"create_project",
2006 Apr 07
3
Inline editing of datetime and dropdown select objects?
I don''t believe that Rails has support for the inline editing of
datetime objects or dropdown combo boxes.
Does anyone have a helper function or two that would allow me to do such
a thing?
--
Posted via http://www.ruby-forum.com/.
2006 Jun 08
1
built-in dropdown jumps?
Hey everybody! I was just wondering if Rails'' javascript library
includes something as simple as making a dropdown that jumps to the link
when selected without needing a "submit" button. I see a bunch of AJAX
effects and draggable-element stuff, but all i need is a simple
dropdown... should I code it myself?
--
Posted via http://www.ruby-forum.com/.
2006 Jul 20
1
cleanest, least hideous way to do dropdown date validation?
My customer has dropdowns like this:
Year Month Day
If you submit with month selected and year blank, it subs in a year
arbitrarily. Worse still, it subs in the year 5. I have no idea why.
It seems a pernicious default.
Anyway, they''re developing an app, they''re a designer turned coder,
turning to a real programmer (me, allegedly) to make sense of the
madness they''ve
2010 Jun 09
1
To display a button onselect of an option from dropdown
Hi
Is there an option of displaying a button only when you
select an option from dropdown.
--
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
2013 Jan 30
1
DropDown onChange event update the table in view
Hi all,
I am fairly new to ROR and recently i created an application where i
have a combobox when on select the item from combobox i need the table
in the view to be updated based on the selection of the item selected in
the combobox. I need to do it using javascript , the whole data should
be retrived once and when the user selects the item from combo the table
data should get updated without
2006 Jul 26
1
List directory names in a dropdown control?
I''ve been trying to find the "right" way to do this and I''m now appealing to
the Rails masses. :)
I want to list all the directory names in a specific location and have just
the directory names appear in a dropdown control for the user.
The Dir.entries("somepath") includes the "." and ".." folders plus all files
and folders.
The
2006 Apr 27
0
Dropdown list to populate drag and drop sortable list
I''m listing bands playing shows. I want to be able to add and sort the
lineup for each show in a single form. Users select a band playing
from a dropdown list, which (using Ajax) adds the band to an unordered
list which they can then re-arrange.
Are these any tutorials online that cover this? Or can anyone shed any
light on it?
I''ve used a modified version of Cody Fausers code
2009 Mar 06
0
How to populate form dropdown with 2nd item of model
I''m trying to create a dropdown list that''s populated from a model but
which has the 2nd item in the model as the default selection. This is
possible.
Here''s the model snippet.
PROPERTY_TYPES = [[''Choose'', ''''],
[''Residential'', ''Residential''],
2007 May 13
1
Dropdown boxes in tcltk and R
Hello,
I'm very much a newbie in R and more so in tcltk so apologies if this
question is stupid. Basically I am trying to use the combobox example
found here:
http://bioinf.wehi.edu.au/~wettenhall/RTclTkExamples/DropDown.html .
What I want to do is in that example get fruitChoice as a variable in R
in general. When I run that code, however, and the ask for fruitChoice
it says
2008 Jul 26
1
Dropdown selected value not reflecting in edit view
hi
I am facing the following issue:
I have the following dropdown, in the new view
select_tag "experience[]", options_for_select([[less_than_1_year,
[0,1]],[between_1_and_3_years, [1,3]],[between_3_and_5_years,
[3,5]],[between_5_and_7_years,[5,7]], [between_7_and_10_years,[7,10]],
[above_10_years,[10,50]]])
The selected value of the user is not getting reflected in the Edit view
of
2013 Jun 18
1
How to Pass Jquery selected dropdown values and radio button values to controller
Hi,
I have an advance search page and its code is as follows -
I have written my code like this
<div class="container">
<%= form_tag search_index_path, method: :get do %>
<%= radio_button_tag ''user_type'', ''customer'' %><p>Customer</p>
<%= radio_button_tag ''user_type'',
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
--