search for: subforms

Displaying 13 results from an estimated 13 matches for "subforms".

Did you mean: subforums
2006 May 18
4
Cascaded Forms
Hi guys, it''s me again ;) is it possible to put forms into forms? My problem is, i have a form which gathers informations about an SSL Certificate order. There is a field which holds the SSL CSR file. Now i wanted to put in a subform which has an form_remote_tag and decodes that CSR file and returns if everything was okay or not. Now if i put in a submit_tag it submits my form which
2006 May 29
1
validation in a "subform"
I''ve been following the rails/osx tutorial at http://developer.apple.com/tools/rubyonrails.html This develops a simple application with expenses and accounts. Near the end of the tutorial, there is a view which allows expenses to be added to an account. This view has the "parent" @account rendered, then iterates throught @account.expenses to display the existing accounts,
2007 Mar 13
7
Form with subforms
Hi, I''m looking for a way to implement subforms. For example, a form where you can add clients, and at the same time enter contactpersons for this client. I''ve been looking around, reading ebooks, etc, but can''t seem to find a good example/tutorial for something like this. So I would be very thankful if someone could point me...
2006 Feb 08
1
Adding children via small subform
I''ve read AWDR and especially the part concerning adding child line_items to an order. Unfortunately I want to do my process in reverse and in doing what I thought would work I get a null object error when trying to append the children to the parent. This is a _major_ stumbling block in my Rails use as almost every one of my projects has needed this so its a pretty vital problem I need
2006 Nov 30
4
response is null when using should_render_rjs
I''m trying to use rspec to test a controller that has ajax. I have the following action: def change_ad_type_form render :update do |page| page.replace_html ''ad_sub_form'', :partial => ''text'' end end and the following spec: specify "should return Text subform on AJAX request to change_ad_type_form" do
2006 Apr 09
4
submitting forms help
I cant seem to figure this problem out and i was hoping someone could help me out. I have a page with a list of forms. I would like the user to be able to submit each form individually, or submit them all at once, to a different action (bascially, one that will do batch processing of all the forms). Is this possble? Please help. -------------- next part -------------- An HTML attachment was
2006 Jun 20
6
checkbox_tag outside a form?
Is it possible to use checkbox_tag outside a form? I''ve put it in a view and it renders but I get nothing back in the params hash. Is there a way to get the value? Like maybe with some JS onsubmit to populate the params hash myself? Thanks, Bill -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Mar 14
0
Search within an Add page
Newbie with RoR. I have searched the net and looked at the PDF books but without much luck. Here is what I am trying to do: I have a view which adds a new "part" to a list of parts for a supplier. This works just fine. However, one of the attributes of the "part" is a foreign key to a list of manufacturers products. I want to have the one "add part for
2007 Feb 19
0
Ajax.Update nested within Ajax.Request
Hi everyone, I have a script below that submits a form using Ajax.Request which is working fine. onComplete or onSuccess though, I''d like it to refresh the div form (formCapture), but so far I can''t get it to work. The script runs to into the onComplete stage, but the div isn''t refreshed. Can anyone help with this? Regards, Robert Hofmeyr function subForm() { new
2007 Apr 13
1
How can I use aggregation objects in form_for?
Say I have a person object which has a aggregation object call address. The the code to manipulate a form for create a new person should be: # new.rhtml <% form_for :person, :url => {:action => ''create''} do |f| %> <%= render :partial => ''form'', :locals => {:f => form} %> <%= submit_tag "Create" %> <% end %>
2006 Jan 12
7
Is anyone using oracle with RoR successfully?
Hi, Is anyone using Oracle with RoR successfully? Is everything running smoothly? What are the main issues? any response is appreciated thanks, Chris -- Posted via http://www.ruby-forum.com/.
2011 Mar 02
2
Nested forms validation problem
Hi All, I''m trying to learn Ruby on Rails and have got an issue with the validation of a nested form. I think I have got it setup correctly as it appears to be saving the data as expected, but it is not wrapping the CSS class (field_with_errors) to the fields, and if data is entered into the nested fields it disappears on form submit (if there are validation errors). The validation
2006 Feb 16
1
file_column problem
I cannot get the file_column plugin to work. Probably something stupid I am doing wrong as I am pretty much a newbie... 1. I added a varchar column to my table called "image" 2. This is my class: class User < ActiveRecord::Base file_column :image, :magick => { :geometry => "80x80>" } attr_accessor :new_password ... rest of class 3. In my controller I