Again, thanks for the replies.
I never said I don't do it. But my issue doesn't work with any browser at
the moment, and even if I eliminate all the td elements (or the entire
table), the same problem persists. The problem is in the ruby code, not the
markup html yet, which is why I elect to do it after I have the ruby
working.
 if I take out the html for the table and submit the code for the view like
this:

 <% form_for :lineitems, :url => {:action => 'create', :id=> @invoice.id} do
|f|-%>

    <% @items.each do |item| %>

<%=item.itemname %> <%= f.hidden_field :item_id, :value=>item.id %>
      <%= f.text_field :quantitydelivered %>
      <%= f.text_field :price, :value => item.sellprice %>

    <%= f.submit 'Add Item' %>
      <% end %>
  <% end %>

I still get the same issue as the original inquiry. As for how to get a
button to submit a line data, I'm still waiting for anyone who has an idea,
direction of where I've gone wrong or even source code I could take a look
at.
On Sun, Sep 6, 2009 at 1:18 PM, Colin Law <[email protected]> wrote:

>
> 2009/9/6 Hassan Schroeder <[email protected]>:
> >
> > On Sun, Sep 6, 2009 at 7:50 AM, maximulus<[email protected]> wrote:
> >
> >> Thanks Colin, once I get a functional page, I'll validate it.
> >
> > Creating valid markup, as well as valid code, is how you *get to* a
> > "functional page" -- it's not an afterthought.
>
> Are you saying you do not check that it is valid afterwards?  A page
> can appear to be functional even with invalid markup so I always check
> mine after it appears to work just in case I have made a mistake.
>
> Colin
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to