similar to: Form with two buttons

Displaying 20 results from an estimated 300 matches similar to: "Form with two buttons"

2006 May 19
4
why no multiple submit?
is it by design? is it standard? how do you give users multiple actions on a form? -- Posted via http://www.ruby-forum.com/.
2006 Mar 25
5
button_to with image?
I''m trying to use button_to and have it use an image in place of the submit button. I had figured it would work the same as link_to like so: button_to(image_tag("editicon", :size => "16x16", :border => 0), :action => ''edit'', :id => person.id) but this instead displays the image code as the button name. Surely there is a simple way to
2007 Mar 06
1
link_to, image_submit_tag, "changes only with POST" and "usability without Javascript" question
Hello, I want to have the following features in my rails application: 1. the program should have AJAX if Javascript available 2. I want to protect my application described in http://www.w3.org/2001/tag/doc/whenToUseGet.html - means GET should be safe 3. if Javascript is disabled the application should work too (without AJAX) If I use "GET should be safe" option (verify) and link_to
2006 Jun 01
2
submit_to_remote with an image-tag?
Hi All, I am searching for a way to use an image as a submit button. I''m not having much luck using submit_to_remote with a image-tag, and I can''t use link_to_remote because I need to submit some form fields. I know this must be possible but I am missing something... Ideas anyone? Thanks in advance, Jens
2008 Oct 24
4
Railscast 75, Observe_field and Shopping Cart
Hi all, I have the shopping cart page where a user can add items dynamically through ajax as explained in Railscast episode 75. I am using observe_field to observe the ''quantity'' and ''cost'' fields to update the total field for each item. This does not work however, for records that are added through the Ajax. How can i name the fields and observe them as i have
2007 Jun 23
2
type image submit tags on IE dropping the params
I have noticed that on IE, the @params[:commit] does not come through on image submit tags, but it does when the image is removed. this fails: <%= submit_tag( "Schedule", {:type => "image", :src=>"/images/buttons/schedulecard.gif", :alt=>"Schedule Card", :class=>"button"})%> but this works: <%= submit_tag(
2006 Jan 13
9
form_remote_tag breaks inside table
i guess its better form to keep form tags outside of table tags anyways, but it took a lot of trial and error to figure out thats why @params were no longer showing up after switching form_tag to form_remote_tag. not sure if this is a prototype ''bug'' or ''feature'' or what. but my next step was to switch to a seperate form tag for each row to reduce needless
2006 Jun 16
2
image_select_tag with name and value
What have I missed I have a .rhtml with the sandard form parameters <%= image_submit_tag("excel.gif", :alt => "Download List to Excel", :border => 0, :name => ''render_action'', :value => ''excel'' ) %> Which genenerates I believe a valid html fragment for a submit button. <input alt="Download List to Excel"
2008 Sep 07
1
remote_form_for, paths, and partials
hi, i''m having a little trouble rendering a partial that uses a remote_form_for and is in another controller. <%= render :partial => "reviews/new"-%> and in the partial i have only this, inside another controller <% remote_form_for @review do |rv|-%> <%= rv.hidden_field :value, :value => 1 -%> <%= rv.image_submit_tag "thumbsupnc.png" %>
2007 Feb 28
6
DRY question - image_tag :alt and :title the same
Hello, I have the following: image_tag(''show.png'', :alt => ''show article'', :title => ''show article'', :border => 0) Is it possible that I donĀ“t need to have "=> ''show article''" twice in this row? e.g. something similar to this pseudo code: (:alt, :title) => ''show article''.
2006 Apr 21
4
link_to_function with submit
I looked everywhere but couldn''t find it. I don''t want a submit_tag or image_submit_tag but a normal link that submits my form. Normally I would do this with a javascript like function sendForm () { document.forms[0].submit(); } but this doesn''t work with form_remote_tag link_to_function( ''Send'' , "sendform();") So the question is:
2012 Aug 10
1
button_to with image
I''m calling button_to in my page, and it renders a form with a submit button just fine. But what I''d really like is <input type="img" src="myimage.png" .....> instead of <input type="submit...> button_to doesn''t seem able to do this, :type and :src parameters get ignored. Is there a way to do it? -- Tim Slattery
2007 May 19
4
button_to_function with image?
Hi: does button_to_function allow the use of an image? I tried it in place of the text with "image_tag" and it doesn''t work. Maybe some form of button_to? Any direction you can give would be great! Mike -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups
2016 May 03
9
[Bug 95251] New: vdpau decoder capabilities: not supported
https://bugs.freedesktop.org/show_bug.cgi?id=95251 Bug ID: 95251 Summary: vdpau decoder capabilities: not supported Product: Mesa Version: 11.2 Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: Drivers/DRI/nouveau Assignee: nouveau at
2007 Sep 12
0
image_submit_tag, :get method and x&y issue
For search functionality I am using :get method to post the form. I am also using image_submit_tag. <%= form_tag({:action => ''search''},{:method => :get}) %> <label>Search:</label> <%= text_field_tag ''term'' %> <%= image_submit_tag "search.png",:name =>
2018 Mar 23
3
Ayuda con R-Studio condiciones
Estimados, Junto con saludar, agradecer? si alguien me pueda ayudar con un problema que tengo: Tengo una base de datos llamada "BD", la cu?l posee 300 columnas y 2800 filas, tengo una columna llamada "DIVISION" que se compone de dos d?gitos. Lo que quiero hacer, pero no s? como es: Generar una nueva columna (adicional), llamada "SECCION" que me clasifique con letras
2018 Mar 23
3
Ayuda con R-Studio condiciones
He tratado de usar lo siguiente: a<- ifelse(BD$Divisi?n>=50 & BD$Divisi?n<59,"D", ifelse (BD$Divisi?n>=60 & BD$Divisi?n<=69,"G", ifelse (BD$Divisi?n>=70 & BD$Divisi?n<=79,"L", ifelse (BD$Divisi?n>=80 &
2006 Jun 23
5
how can i alter the validations error messages.
hello my name is reynaldo my question is the next. i want change the text of the validations error messages generated by ruby when you don''t wrote properly the data in the form. -- Posted via http://www.ruby-forum.com/.
2014 Oct 01
1
JABBER_STATUS CODE 7
Hi all,I hope to find a solution with the help of the list, I'm trying to get the status of my extensions with ejabberd , the idea is to visualize my users ejabberd incoming calls or missed. I'm testing with my operator extension with this code but only get the missed call notification does not show me where the call is coming. my piece of code [operadora] exten =>
2009 Apr 13
2
retransmision error con asterisk 1.4.24.1
se?ores alguien le ha presentado este problema al acceder al voicemail o al hacer una llamada a la pstn 1940> Playing 'vm-received' (language 'es') -- <SIP/111-08d91940> Playing 'digits/yesterday' (language 'es') -- <SIP/111-08d91940> Playing 'digits/at' (language 'es') -- <SIP/111-08d91940> Playing