Hello,

I have the following remote form:

<% remote_form_for :sms_message, @the_message,
                 :loading  => "",
                 :complete => "",
     :html => { :method => :post},
    :before => "if (!validate_submit_msg_form()) {return false;} ",
  :url => {:controller => "sms",
    :action => 'send_the_message',
    :recipients_session_id => @recipientSessionID} do |f| %>
<%= f.radio_button :now_or_later, "now", :onclick =>
"enable_or_disable_date_select(false);", :checked => true %>

<%= f.text_area :body, :size => "38x5", :class => "textAreaStyle",
:onkeyup => "calculate_msg_char_counter();", :id =>
"the_message_textarea" %>

<% end %>

The text area value gets passed correctly but not the radio button.
Knowing that :body is part of :sms_message model and :now_or_later is
not?
how can I pass non members through remote form?

Thanks,

Tam
-- 
Posted via http://www.ruby-forum.com/.

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

Reply via email to