search for: supplier_name

Displaying 4 results from an estimated 4 matches for "supplier_name".

2006 Aug 07
1
Escape ''&'' in text_field_with_auto_complete
...if @suppliers.length == 0 flash_warning(:now, ''No Suppliers found with company name starting with '' + params[:supplier][:company_name].to_s + ''!'') render :partial => ''no_values'' else render :partial => "supplier_names", :layout => false end end Thoughts on how to get the expected value here? -- ~d "Right is right, even if everyone is against it, and wrong is wrong, even if everyone is for it." -- William Penn www.razorpress.com -------------- next part ------------...
2005 Sep 26
1
[Fwd: [Rails] Re: Autocomplete - setting a second value?]
...exactly do it? Sure, no problem. app/views/products/_form.rhtml: <%= hidden_field :product, :supplier_id %> <%= text_field :supplier, :name, :size => 40, :value => @product.supplier.nil? ? nil : @product.supplier.display_name %> <div class="auto_complete" id="supplier_name_auto_complete"/> <script type="text/javascript"> new Ajax.Autocompleter(''supplier_name'', ''supplier_name_auto_complete'', ''/products/auto_complete_for_supplier_name'', {afterUpdateElement: function(element, sele...
2007 Sep 12
3
Can''t disable ferret when running in Mongrel
...description => {}, :title => {}, :ur l => { :store => :yes }, :description => { :boost => 10.0 }, :su pplier_id => { :store => :yes }, :supplier_name => { :boost => 10.0 }, :ke ywords => { :boost => 10.0 }, :data => {}, :extract => {}, :city => {}, :st ate => {} } } ) Does anyone ha...
2005 Sep 22
6
Autocomplete - setting a second value?
I''m using the autocomplete function, and need a way to grab a second value from the ajax request... an example would probably speak better: This is my HTML: <input name="CustomerName" id="CustomerName" type="text" /> <div id="CustomerList"></div> <input name="CustomerID" id="CustomerID"