similar to: How to carry parameters to a new page?

Displaying 20 results from an estimated 1000 matches similar to: "How to carry parameters to a new page?"

2008 Apr 18
5
show sum of textboxes
Hi all, I have multiple textboxes containing numbers. I want to add up all the numbers and show the sum. Can I select the textboxes by class and sum the content? This also has to happen realtime: when a number is changed ina textbox the sum should also change. can this be done? regards, Stijn --~--~---------~--~----~------------~-------~--~----~ You received this message because you are
2006 Feb 09
6
inPlaceEditor ISSUES!
I have run into a problem that I have never created before. I am using the scriptaculous inPlaceEditor If I hit the cancel button, and rehit the editor it then creates two textboxes, and if I repeat three input boxes, etc.! Must be stupid simple, but I AM STUMPED! DECO
2005 Dec 20
2
Designing a data-entry screen
Here''s what i''m trying to do: Have 3 dropdowns up the top of a page, being: year, month, department, and group. Also a button underneath that called refresh. When you click refresh, it finds the 1 row of data from the database for that year/month/dept/group and populates the fields into a set of textboxes below. Then you can edit what is in those textboxes, and click a
2006 Jun 28
5
Funky character display in rails / mysql
I''m getting complaints from one of my customers that characters in their text are getting mangled. This happens when they paste data into my textboxes in rails from MS word in particluar. Quotes are turning into question marks, etc. Anyone have a fix / workaround for this? -- seth at subimage interactive http://www.subimage.com/sublog/ -------------- next part -------------- An HTML
2009 Mar 01
4
Pros & Cons - Microsoft Office on Macintosh OS X
Hello Boys and Girls and Everybody. I have recently started using a Macintosh computer to replace the dinosaur of an unbelievably unreliable PC that I have been using for the last 10 years. So far I have been very pleased. I have been using OpenOffice for quite a while now as I find it is mostly superior to Microsoft Office in many ways, HOWEVER - OpenOffice lacks the Voice Recognition Software
2006 Jan 07
3
Can not install my bible program
I am very new to Linux but am enjoying it and liking it very much. I am up and running on debian sarge. Everything has been smooth except for one problem. I am invested in the Logos Bible Program and am trying to get it to run with wine. It gives me a textbox that says it must run on windows 98 ver or higher. I do not know what else to do. I am a minister and must use this program. What do
2005 Nov 24
1
Autocompleting combobox: fact or fiction?
Hey, I''ve got a script.aculo.us autocompleting textfield that works wonderfully, but how do I make the value of the selected option submit with the form...for that matter, do autocompleting textboxes have ''option'' tags, or is what I want to do simply impossible 8[ Thanks, Gustav gustav-Y7mMFpLgOV2wB/GGPSRsq0B+6BGkLq7r@public.gmane.org -- Posted via
2011 Nov 01
0
Read/Write textbox in R
I am writing a GUI for my R script. It is a very basic form consisting of textboxes and buttons. I tried to run the following example to learn how to read value currently entered into the textbox: ( it requires tcltk/tcltk2 packages ) # Create the widgets base <- tktoplevel() list <- tklistbox(base, width = 20, height = 5) entry <- tkentry(base) text <-
2006 Jul 08
2
Creating/Saving dependent objects
Folks, Am new to RoR and am building an example to get myself familiar. I am running into a simple issue while creating a user registration page. I have a User and Address models defined as below (partial/relevant code included below). User has_one address and Address belongs_to user. I have a foreign key defined in address table that refers to user(id) In a form I take in username, password,
2006 Jul 30
1
Insert multiple new child records with the parent
Hello, I am implementing a classic invoice application. On the create new invoice page I want to allow users to add new line items using AJAX: ----------------------------------------------------------------------------- Invoice Date [ ] Client [ ] Line Items 1. [ ] $[ ] <add new line item> <save> <cancel>
2006 Apr 25
2
agile depot app login failure :(
Hi *, In an attempt to go back to the drawing board and learn RoR some more - I have built the depot application from the agile book. After finishing I tried to create a user for the admin section, however when ever I go to: http://localhost:3000/login/add_user It redirects to the login action, I don''t see the [add user] submit button?? I am sure this is connected to the
2006 Jul 12
6
Showing rows on a page
This is my first rails program and I?m having trouble figuring out how to show rows on the page when there may not be rows in the database. There are 3 tables, employees, cost_codes and timesheet, I will simplify them when describing them later on. When an employee logs in, I would like to pull up their timesheet, which should consist of one row per cost code. So timesheet would look a
2006 Jan 17
0
Dynamically creating textbox in form?
Hi, What I''m trying to hack up is a form that has a portion which would allow me to add "any number" of another set of items. For instance when specifying a product in a table, and this said product can have a number of ways which it can be delivered, so I will have a "Add additional delivery method" javascript link, which when clicked will create an additional
2006 Mar 29
6
Simply Getting Post Params
I am a complete Rails newbie and am trying to understand how I can simply get the data from a password field in a form that is not mapped to a field in the database. The scenario is this. I have a User model that is mapped to a table users with the following fields: username, email_address, password and join_dt. Following pretty closely to the login section in the Agile Web Development with
2006 Mar 13
4
undefined method `validates_presence_of'' for #<ProductsContr
Hi, I am trying to use method `validates_presence_of'' for validating my input fields on form . I m using it in my action class as follows:- ======================= validates_presence_of(params[:product][:quantity]) ====================== But when I am running my application i m getting error like:- ========================= undefined method `validates_presence_of'' for
2006 Feb 17
4
Best practice for showing errors AND updating list
Morning/Afternoon/Evening All, This is my first post to the ruby message board so if my request is better suited to another location just let me know, The problem I keep coming up against is with a listing of objects and updating that list via AJAX (for arguments we are talking about a list of users). As it stands I can currently submit a form, and update the list (using :update
2006 Jun 08
8
Routing help.... it is so difficult!
hi guys, sorry to trouble you all but i really dont understand how this routing thing work... it seems easy but it just dont work for me! here''s the situation : my url b4 : http://127.0.0.1:3001/admin/login my url after: http://127.0.0.1:3001/burninglegion/admin/login i wanna do something like this so i went to the routes.rb and type this: ActionController::Routing::Routes.draw do
2005 Dec 17
1
lost in an ActiveRecord::StatementInvalid
I have an error I don''t know how to debug. I am adding the login suport in Depot (the example in the RoR book) and LoginController#add_user throws ActiveRecord::StatementInvalid in an innocent /login/add_user GET request. The trace goes down to a call to SQLiteAdapter#table_structure, and the source code suggests what''s happening is that "PRAGMA
2005 May 17
2
Noob - ActionView::Helpers::FormOptionsHelper::select
Hi, I''m just starting with Rails and i''m trying to do something like this: <%= start_form_tag :action => ''add_user'', :id => @social_event_group %> <%= select ''user'', ''id'' , User.find_all.collect {|u| [ u.login, u.id ] }%></p> <%= submit_tag "Add User" %> <%= end_form_tag %>
2008 Dec 31
7
Understand submit_tag
Hi everyone, I was following the book Agile Web Development with Rails 2Ed. by Dave Thomas. So, at some part of my studies, I decided to try to create my own application based on what I''ve learned... Now I''m in trouble in a simple form. I tried to create a form to register new users. I''m sending attached the files that I created for this. but my view don''t