search for: formname

Displaying 11 results from an estimated 11 matches for "formname".

Did you mean: forename
2008 Sep 15
2
Passing an array into controller
I am trying to pass and array from an AJAX Javascript function to a controller. The parameter is being read as a single string and not an array. The Javascript function: function sendtolist(formName){ var form = $(formName) var checked = [] checked = form.getInputs("checkbox","plans[]").findAll(function(item) { return item.checked; }).pluck("value"); action="/generate_reports/advanced_plan_summary" window.location.href=action+"?plans[]="+checke...
2006 Mar 02
6
Question about $F()
Hi Guys, Maybe this is a stupid question, but I am confused at the moment. The $F() function is a handy shortcut to get the value of the an input field. So, doing something like $F(''name'') is equivalent to document.formname.name.value which is pretty cool. Now, what if I have 2 forms on the page, that same field name "name"? What would $F return? It does not take the form name - right? Thanks, Mandy.
2009 Aug 14
2
RGoogleDocs: getDocs() - "problems connecting to get the list of documents"
...ogle spreadsheets. I get the message: "problems connecting to get the list of documents" when I use getDocs, despite being logged in e.g. sheets.con = getGoogleDocsConnection(getGoogleAuth("username", "password", service = "wise")) ts = getWorksheets("formname", sheets.con) è Error in getDocs(con) : problems connecting to get the list of documents Does anyone know what might be causing this? Is it maybe a problem at the google end? Matthew Blackett Researcher King's College London http://geography.kcl.ac.uk/micromet/MBlackett/ [[alternat...
2002 Aug 07
1
Folder Creation Errors
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, Everyone -- How can I create a custom printer form for use on the printers shared by Samba? I tried to add a printer form via the "Server Properties" gizmo from a Win2k Pro client, but I get "Form formname could not be added. Operation could not be completed." When I do an enumforms <printername> via rpcclient to the Samba server, I get an NT_STATUS_UNSUCCESSFUL. If I do this against our WinNT 4.0 server with printers, it gives me the list. Is there some funky hack I can use? This is...
2006 Jul 06
3
Accessing form field contents
...t thought is to actually pass in the value when you press the link, along the lines of: <%= link_to("Lookup by title", :action => ''lookup_by_title'', :val => fieldValue) %> But how do I get the contents of the field? In JavaScript I''d do document.formName.fieldName.value, but I can''t do that here because 1. what is the name of this form? and 2. If I simply say document. blah blah blah, Ruby barfs because it doesn''t know what document is. Any thoughts? -- Posted via http://www.ruby-forum.com/.
2006 Apr 25
0
Submit a form_remote from arbitrary JS
What I want to do is trigger an AJAX form submit from an event handler for a form element. The form is named, and I tried calling formname.submit() from the onblur handler. However, instead of using the settings from the form_remote_tag above it, the form ends up submitting the whole browser. I know what you''re thinking, why not use an observer? I tried that, and I ran into some problems. The observe_field call is inside...
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 Apr 27
0
radio buttons and $F function
Hello there, i working with prototype but i have a little doubt, I''ll always use the shortcut $F to get values in a form, that''s ok, but what happens if i need get the value of one of three radio buttons value? normally i get the radio button value with document.formName.radioName but the shortcuts on prototype works with the id, there is a prototype way to do this?? greets -- // // Ing. Francisco J. Calderón S. // fjcalderon-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org // Usuario de GNU/Linux nº 349529 // Maracay, Venezuela // _____________________________...
2006 May 31
2
Checkbox Help
Hi guys, I am need to help again. Sorry for the newbie query but would definitely appreciate the help. Here''s the q: I generate a list of items from the database and render them out with a checkbox beside them. A user may click more than one item and I would want to save all checked items into another table. I have been able to give each checkbox a unique id . Would anyone be able
2007 May 15
1
Effect.dropout and Too Much Recursion Error
...9;+id); Effect.DropOut(element); } else{ alert("ups ...!") } } function submitAddNewStaffForm() { var notice = $(''contentDiv''); var notice = $(''contentDiv''); var form = $(''newStaffForm''); var staffName = $F(''formName''); form.request(); form.request({ onLoading: notice.update("saving data .. ..."), onComplete: function(transport){ notice.update("Form data saved..."); var newID = transport.responseText; newRow = Builder.node(''tr''); td1 = Builder.n...
2002 Jun 26
6
Samba 2.2.5 and printers
I'm currently having a problem with the new released Samba 2.2.5: I cannot print anymore on my shared printer. What is strange is that It worked fine with samba 2.2.4, but now I got an access denied whenever I try to access the printer... /var/spool/lpd/samba is chmod 777 and the username is in the group lp Here is part of my smb.conf: [global] workgroup = HOME netbios name =