search for: facebook_form_for

Displaying 5 results from an estimated 5 matches for "facebook_form_for".

2008 Jan 25
1
form error with datetime select
Hi, Im trying to build a form using: <% facebook_form_for(:task, at task,:url => create_task_path) do |f| %> Assign Task To: <%= fb_friend_selector %> <%=f.text_field :ttype, :label=> "Title"%> <%=f.datetime_select :duedate, :label=> "Due Date"%> <%=f.buttons "Add" %> &lt...
2007 Dec 08
3
Uploading photos using facebook & attachment_fu
Hi All, I''m trying to use a form to upload a photo that I will save using attachment_fu. I''m very new to Facebookr so I apologize if this is covered somewhere, but I''m kind of stumped. Here''s what I''m doing now: <% facebook_form_for(:my_object, :url => { :action => ''upload_photo'', :id => params[:id] }, :html => { :multipart => true }) do |f| -%> <%= radio_button_tag ''my_object[my_param]'', "value" %> <%= file_field_tag "photo[uploaded_data]" %&...
2008 Jan 25
2
form formatting
If I want to use fbml elements and rails tags, is there a way to do within a fb:editor? if I do: <% facebook_form_for(:task, at task,:url => create_task_path) do |f| %> Assign Task To: <%= fb_friend_selector %> <%=f.text_field :ttype, :label=> "Title"%> <%=text_field_tag :newrnumdays, ndays, :label => "# Days"%> <%=f.buttons "Add" %&...
2008 Jun 06
2
422/InvalidAuthenticityToken with fb_request_form
All, I''m using the ActiveRecord store for sessions and have gotten form submissions to work, but I can''t get the fb:request-form that''s generated by fb_request_form to work, it doesn''t seem to add hidden fields for the token. Should it? Can it even (add extra fields to the fb:request-form)? My view: <% content_for("challenge_content") do %>
2008 Aug 14
0
facebook_form_builder.rb - add_default_name_and_id
Hi there, I have a model called SignUp with a couple of text_fields and a datetime_select. When I was trying to build a form using the facebook_form_for helper, I realized that the controller was getting values from datetime_select correctly but was missing data from the text fields. I narrowed down the issue to add_default_name_and_id method and when changed it from def add_default_name_and_id(options,method) options[:name]...