Displaying 5 results from an estimated 5 matches for "save_item".
Did you mean:
save_items
2005 Dec 15
12
Adding multiple invoice items to an invoice on the same form
Hi Friends ,
Got a unique requirement .I am designing a invoice printing system
.So right now I have the NEW page for adding the invoice details to the
table .Now I have the requirement of adding Invoice Items In the same
form .I have added multiple text boxes to enter the values of the Items
using
<%= text_field ''invoiceitems[]'', ''item_price''
2005 Dec 23
0
adding items to a particular invoice on the same page
...pdate => "my_list",
:url => { :action => :add_new_item },
:position => "bottom" ) %>
New item text:
<%= submit_tag "Add" %>
<%= end_form_tag %>
<form action="/ajax/save_items" method="post">
<ul id="my_list">
<input type="text" id="invoice_inv_number" name="invoice[inv_number]" >
<li>Original item... please add more!</li>
</ul>
<%= submit_tag ''Upda...
2005 Dec 20
0
Dynamic fields creation and accessing data
...e_tag(:update => "my_list",
:url => { :action => :add_new_item },
:position => "bottom" ) %>
<%= submit_tag "Add New Item" %>
<%= end_form_tag %>
<form action="/ajax/save_items" method="post">
<ul id="my_list">
<li>Original item... please add more!</li>
</ul>
<%= submit_tag ''Update'' %>
</form>
I have added like this for creating a dynamic generation of text boxes
using...
2005 Nov 19
3
Form values not included in submit when ajax generated.
Hi.
I have a form with two select lists, named ''project'' and ''activity''. The
content of the ''activity'' list is changed when the selected item in
project changes, using ''observe_field'' where project is observed, and a
div enclosing ''activity'' is updated. This works as expected. The problem
is that when
2005 Dec 20
12
How to model "Expense Report" in Rails MVC
1st: I am a newbie to Rails & to pure OO.
Q: I want to use rails for creating a "master-detail" form. page layout
will allow users to type in an "expense report header" and as many
"expense report lines" as they need to. I understand how to wrap the
final submit action using "transaction" to ensure the inserts to the
database happen within the same