Displaying 20 results from an estimated 500 matches similar to: "observe_form, observe_field, dynamic forms help"
2006 Apr 26
6
Immediate help needed
I have posted this previously also but haven''t received any help.
So, if somebody could look into it and guide..
I want to validate the extension of files that I am uploading.
Like I want only the doc/pdf files to be uploaded..
Thanks in advance.
--
Posted via http://www.ruby-forum.com/.
2006 Mar 04
1
RE: Question about event listener highlighting withchild elements
1. Create a separate class that has your highlight/unhighlight behavior
in it, and extend just the element you want to highlight with that
class... like this (also allows you to easily apply this behavior
elsewhere when you need it in the future):
Object.extend(this.el, HighlightBehaviorClass.prototype)
2. When defining your event handlers, assign them to variables so you
have a
2007 Nov 12
15
If form changed ask if you really want to exit page...
First things first: Hi all! I''ve been sucked into prototype and
script.aculo.us develpment thanks (because of?) the Symfony PHP
framework...
I''d like to implement a feature on some admin pages, but I can''t seem
to find the right search term to google it; I want to ask the user to
confirm exit of a page, if she has changed anything on the forms
displayed on it.
I have
2006 Apr 15
0
Ticket #4140? observe_field issue.
Take these two basic bits of HTML.
<input id="user_email" name="user[email]" size="30" type="text" value="" />
<script type="text/javascript">
//<![CDATA[
new Form.Element.EventObserver(''user_email'', function(element, value)
{new Ajax.Request(''/account/validate_user_email/0'',
2006 Jan 18
2
Event.stopObserving and anonymous functions
Hi all,
I'm using behaviour(.js) to add event handlers to all the table cells
in a table (mouseover, mouseout, clickk). However, I'm also ditching
the table and replacing it with an Ajax.Updater so I want to remove
all the observers before I lose them. Unfortunately, the Event.observe
calls were written as inline anonymous functions so, when calling
Event.stopObserving, I'm supposed
2006 Apr 08
0
Understanding observe_form...
Hi all,
I''m trying to understand the workings of the observe_form function.
In my application I have a search form with a number of parameters, and
I want to have a live search counter on screen, so as the user chooses
different parameters, she can see a live count of how many search
results match.
What I''m not clear on is how to use the "with" option, and what
2007 Feb 04
0
Very strange observe_form problem
I am doig something very simple here and this is not working correctly.
So any help is greatly appreciated.
I ahve this code in my template:
<% form_for :company_branch, @company_branch, :html => {:id =>
"company_branch_form"} do |f| %>
<%= f.text_field :street1 %>
<%= f.text_field :street2 %>
<% end %>
<%= observe_form("company_branch_form",
2009 Jun 14
6
Unable to make observe_field work
I can''t make it work.
<%= text_field_tag :friend %>
<%= observe_field :friend, :url => friendships_url, :on => :click %>
<%= javascript_include_tag :defaults %>
Raises the error:Can''t find variable Form.
The generated html is:
<input id="friend" name="friend" type="text" />
<script
2006 Feb 10
1
Stopping an observe event
If I want to stop observing a div Is this the format?
Event.stopObserving($(''''mydiv''),''click'');
Deco
2006 Mar 22
2
observe_form without ajax?
This betrays my lack of javascript knowledge, but is it possible to
watch a whole form for changes and activate some javascript when those
changes occur without any remote request?
That is, I want to do exactly what observe_form does, but without the
ajax call actually happening. I realize I could use the form_tag
:onchange parameter, but that seems to be incapable of doing things like
2006 Jan 09
2
Using RJS templates with observe_form
Hi there,
I''ve been checking out RJS templates, and have been trying to use them
with the observe_form helper.
However, the form values are no longer being passed in the params (as
soon as I point the action to the non-rjs and add the ''update'' clause
everything is working again). Is this expected?
Cheers,
Dave
-------------- next part --------------
An
2006 May 29
0
nowhere to find a observe_form docu
Do somebody know where to find a real good documentation for the
observe_form? I have some problems with it and find nowhere a
documentation.
--
Posted via http://www.ruby-forum.com/.
2005 Dec 22
0
Observe_form and ssl on IE
Can anyone help with some strange error messages I''m getting on IE when
using observe_form.
I''ve written some code to observe a set of radio buttons and it all works
fine in Firefox but when using IE about 20% of the calls return a
request.status of 12152, ERROR_HTTP_INVALID_SERVER_RESPONSE (and the
occasional 12030, ERROR_INTERNET_CONNECTION_ABORTED). It only happens on
SSL
2005 Dec 23
0
observe_form, ssl and Internet Explorer
Can anyone help with some strange error messages I''m getting on IE when
using observe_form.
I''ve written some code to observe a set of radio buttons and it all works
fine in Firefox but when using IE about 20% of the calls return a
request.status of 12152, ERROR_HTTP_INVALID_SERVER_RESPONSE (and the
occasional 12030, ERROR_INTERNET_CONNECTION_ABORTED).
It only happens on SSL
2005 Dec 29
0
observe_form without an update parameter
I''m using observe_form in a place that does not require any response
from the server. So I do not use an update paramater. But without it
webbrick hangs for a couple seconds and returns a status 500. On
occasion, there will even be an exception in webbrick''s output if I
change the form then quickly click a link before the couple second hang
is done. If a add an update, it
2007 Apr 17
4
close a div when click out of the div
Hi. I have this question: I have a page with more ugual "GIF" (say ?/Help
gif). When I click on one of this giv a "DIV" is showed (one for each gif).
And when a div is showed the last div "showed" there must "hide". Ok, no
problem. I have do it. My problem is that the div that is showed in this
moment must to "hide" when I clink into the document
2006 Aug 15
4
observe_form not serializing form
I want to use observe_form to automatically save notes in a text_area.
This is the code I have:
<form id=''notes_form''>
<%= text_area :contact, :notes, :cols => 40, :rows => 10,
:id =>''notes_text_area'' %>
<%= observe_form(''notes_form'',
:frequency => 1,
2009 Jul 29
0
[PATCH server] Remove ununsed utils.rb file.
Somehow I missed this.. this file is no longer in use by taskomatic.
Signed-off-by: Ian Main <imain at redhat.com>
---
src/task-omatic/utils.rb | 221 ----------------------------------------------
1 files changed, 0 insertions(+), 221 deletions(-)
delete mode 100644 src/task-omatic/utils.rb
diff --git a/src/task-omatic/utils.rb b/src/task-omatic/utils.rb
deleted file mode 100644
index
2010 Sep 01
1
[PATCH] Fix virtual disk name (virtio)
Fix a little bug in virtio disk attributions
Signed-off-by: Arthur Clement <aclement at linagora.com>
---
src/task-omatic/task_vm.rb | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/src/task-omatic/task_vm.rb b/src/task-omatic/task_vm.rb
index 3a197f9..cf84ea2 100644
--- a/src/task-omatic/task_vm.rb
+++ b/src/task-omatic/task_vm.rb
@@ -66,7 +66,9 @@ def
2006 Oct 11
2
Help please with observe_form - not working
My observe_form is basically totally limp. I think it should update without
hitting submit button but even if I hit it , it doesn''t change (doesn''t seem
to post the data).
Can anyone please take a look and see if I"m doing something wrong. TIA
Form:
<% start_form_tag({:action => "livesearch"},
:id => "asearch") %>