Displaying 20 results from an estimated 2000 matches similar to: "help with sending email form"
2006 Jan 17
2
actionmailer
I''m getting an error when I''m tyring to use the actionmailer.
undefined method `deliver_signup_thanks'' for Notifier:Class
This is what I have in the controller.
def emailTest
Notifier::deliver_signup_thanks()
render_text "email test"
end
This is what I have in notifier model (notifier.rb)
class Notifier < ActiveRecord::Base
def
2006 Feb 02
1
actionmailer - No rhtml, rxml, or delegate template
I''m getting this error when I try to send an email.
No rhtml, rxml, or delegate template found for signup_thanks
But I do have signup_thanks.rhtml in app/view/notifier
This is in the notifier model.
class Notifier < ActionMailer::Base
def signup_thanks(sent_at = Time.now)
@subject = "the subject works!"
@body["first_name"] = "first name"
2005 Mar 02
2
form action in mail (actionmailer)
Hi everyone. : )
I meet problem when use form tag in actionmailer. (content-type is text/html, surely)
I want to use form action in actionmailer''s view (.rhtml) for some reason.
1. I use start_form_tag helper method as normally, but how I can ?
I did <%= start_form_tag :action => "http://myhostname/mycontroller/myaction" %> or
<%= start_form_tag :action =>
2006 Jan 28
0
Auto drop list: Create a form professional or easy?
Hi all,
I''m searching for a method to dynamically build a form. ( false/true field in
the DB should automatically be a droplist)
If you use "_form.rhtml" it works easy, with only this code in your partial,
but uses the extra file, and doesn''t feel profi and flexible.
<%= start_form_tag :action => ''create_product'' %>
<%= render
2006 Feb 21
2
start_form_tag with method GET
Hi,
How can I get start_form_tag to use GET instead of POST?
I have tried...
<%= start_form_tag {:action => ''search''}, {:method => ''get''} %>
But it doesn''t work...
compile error
./script/../config/../app/views/search/index.rhtml:35: syntax error
_erbout.concat(( start_form_tag {:action => ''search''}, {:method =>
2005 Apr 20
5
ActionMailer: Net::SMTPSyntaxError (502 unimplemented (#5.5.1) error
Quick ActionMailer Question:
I''m trying to send a test email message using ActionMailer and I get a
Net::SMTPSyntaxError (502 unimplemented (#5.5.1) error.
I''m attempting to access a remote smtp server and have setup my
settings in the environment.rb file according to the "how to" article.
My test controller:
class MailTestController < ApplicationController
2006 May 14
3
need help for simple form tag (noob)
when the user click on "Search" I would like it to point to
http://curentpage/?filter=searchtext (the filtering code is already
written)
it would look like this:
<%= start_form_tag(url_for_options = {<something>}) %>
<%=text_field (<my_filter>) %>
<%= submit_tag(value = "Search")%>
any idea how to do this?
thanx in advance
2006 May 30
1
Posting a form to a secure target?
All,
If I want my form action to be a secure target, what is the best way to
go about doing that?
I''m trying to do:
<%= start_form_tag( { :protocol => ''https://'', :host => request.host +
'':3001'', :action => ''login'' } ) %>
in my view, but this doesn''t seem to generate a URL with https:// and my
SSL host in
2006 Apr 05
1
FormTagHelper form names: possible?
Thank you to everybody that has helped me since I signed up. I''m flying
along thanks to you.
I have a question about the FormTagHelper "start_form_tag": I''ve been
trying to figure out how to get Rails to output a "name" attribute for
my form so I can hook in a Javascript to focus on a field inside of it
on load, but it doesn''t look like I can do
2006 Jan 17
2
Specify ID for a form?
Hi all,
I have a a really, really dumb Newb question... I am trying to use
observe_form to use AJAX calls in order to refresh a particular page
fragment using the form data.
I have run into a stumbling block very early on in the process - how can I
provide an ''id'' attribute to the form_remote_tag or start_form_tag methods?
Specifying something like :id =>
2005 Dec 23
2
NewbieQ: How do you specify a name for a form
In start_form_tag howw do you specify the form name??
Eric
2006 Jan 19
9
start_form_tag not taking url_for options
I''ve got a form that should post to user/login. The code to start the tag is:
<%= start_form_tag { :controller => "user", :action => "login" } %>
That gives me this exception:
compile error
script/../config/../app/views/user/login.rhtml:1: parse error,
unexpected tASSOC, expecting ''}''
_erbout = ''''; _erbout.concat((
2006 May 18
6
Form actions with additional parameters
Hiall,
I want to give the action of a form an additional parameters but can''t
figure out how to do it. My code looks like this
<%= start_form_tag :action => ''create'', next_step => true %>
<%= render :partial => ''user_form'' %>
<%= render :partial => ''community_form'' %>
<%= submit_tag
2006 Jun 27
3
start_form_tag question..
i am trying to get a start_form_tag working, but i am shooting blanks..
here''s what i am trying to do..
i have a controller called "forms.." with an action "new_entry"..
it is called by:
localhost/forms/new_entry
this is just a quick form to test another action..
that action is:
localhost/logger
my question is, how do i construct start form tag in order to
2007 Feb 06
3
Form won't accept ampersand
Hi guys,
My start_form_tag generated form will not accept a text field containing
an ampersand.
For example, the text ''A & B'' is trunacted to ''A'' in the param hash.
I know ampersands have to be encoded in URLs, but I''m surprised my form
has a problem with this. I''ve tested this in Safari and Firefox.
thanks
Lindsay
--
Posted via
2006 May 10
2
gain value from form
I have the following form
<%= start_form_tag :action => ''rejectQuoteSave'', :id => @project %>
<p><label for="offer_reason_rejected"><span class="required">*
</span>Reason</label><br/>
<%= text_area ''offer'', ''reason_rejected'' %></p>
<%= submit_tag
2006 Apr 14
2
Nested AJAX remote_form in form?
I''d like to achieve something that is better described by the following
code:
<%= start_form_tag :action => ''create'' %>
<%= text_area ''place'', ''description'', :cols => 100, :rows => 4 %>
<div id="categories">
<%= form_remote_tag :update => ''categories'',
2005 Jun 10
1
Submitting an ajax form via a select
I''m trying to submit an ajax form via an onchange method in a select
menu, but I can''t seem to do it.
The problem holding me up, is that I can''t figure out how to set the
ID of the form when using a form_remote_tag (I need to use the ID of
the form as the forms on the page are variable, so I can''t reference
it in the form array). Setting :id =>
2006 May 04
4
form post not working
Hi there,
I have this form code in a view:
<%= start_form_tag :action => "listByArtist", :id => artist.id %>
<p><b>List by Artist:</b>
<select id="artist_id" name="artists[id]">
<%= options_from_collection_for_select(@artists, "id", "name") %>
</select>
<%= submit_tag "List"
2005 Dec 21
4
How can I taalk to our AS/400?
Hello,
I can do this in java, but want to use Rails.
How can I connect to our AS/400?
Thanks
Frank
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails