Displaying 1 result from an estimated 1 matches for "addsuggest".
Did you mean:
dsuggest
2006 Jul 27
2
setting initial text field values in a form
...lt;/label><br/>
<%= form.text_field :email, :size => 64 %>
<label for="suggestion_suggestion">Suggestion:</label><br/>
<%= form.text_area :suggestion, :size => 1000, :cols => 48 %>
<%= submit_tag "Send Feedback", :name=>"addsuggestion" %>
<% end %>
I would like to set the email address in the form field such that it
displays the email address from the logged_in_user (i.e.,
logged_in_user.email) any ideas on how to do this would be appreciated.
I have tried multiple times using things such as
:suggestion.emai...