Displaying 2 results from an estimated 2 matches for "invoice_customer_id".
2006 Jul 20
0
Getting joined collections on a form
...>
Customer:
<%=
collection_select(:invoice, :customer_id, @customers, :id,
:name,
{:include_blank => true},
{:onchange => remote_function(:url => { :action =>
"get_customer"},
:with => "''invoice_customer_id=''+
$F(''invoice_customer_id'')")}
)
%>
<div id="customer"></div>
<%= hidden_field :invoice, :customer_id, :value => "" %>
<%= submit_tag ''Add Invoice'' %>
<% end %...
2006 Jul 21
0
Selecting customers and addresses in a form (was Getting joined collections on a form)
...>
Customer:
<%=
collection_select(:invoice, :customer_id, @customers, :id,
:name,
{:include_blank => true},
{:onchange => remote_function(:url => { :action =>
"get_customer"},
:with => "''invoice_customer_id=''+
$F(''invoice_customer_id'')")}
)
%>
<div id="customer"></div>
<%= hidden_field :invoice, :customer_id, :value => "" %>
<%= submit_tag ''Add Invoice'' %>
<% end %...