473,394 Members | 1,658 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Continuous Form

Hello,

Could someone explain/demonstrate how I can create a 'continuous
form' (similar to access) but in a webpage using php. What I am
trying to do is have and entry input, if the user enters info then
make another input available and so on. This way they can enter as
many items as they need. Then loop through each of their entry and
perform my action. If there is a proper web term for what I am trying
to accomplish could you please let me know so I start using the proper
terminology.

Thank you for the help.

Daniel

Aug 10 '07 #1
6 3936
On Aug 10, 8:03 am, Daniel <d_pinea...@hotmail.comwrote:
Hello,

Could someone explain/demonstrate how I can create a 'continuous
form' (similar to access) but in a webpage using php. What I am
trying to do is have and entry input, if the user enters info then
make another input available and so on. This way they can enter as
many items as they need. Then loop through each of their entry and
perform my action. If there is a proper web term for what I am trying
to accomplish could you please let me know so I start using the proper
terminology.

Thank you for the help.

Daniel
It seems to me is that you want a simple updateable view of a database
table(s). (P.S. In database terminology, at least, it would be called
an updateable view).

Depending on your situation, this could be something very simple and
could/should(?) be done with a simple Active Record pattern...or could
get relatively complicated since there are so many variables. On the
UI...do you want to have a page refresh between new records or do you
want to leverage AJAX?

Check out some more information on the Active Record pattern (http://
en.wikipedia.org/wiki/Active_record_pattern) and possibly something on
AJAX if you're so inclined (not a necessity, of course).

Aug 10 '07 #2
ELINTPimp wrote:
No offense to DHTML, but in my opinion, all that DOM manipulation work
to just have to save the form once the user is complete seems like a
waste of time to me (most of the time).
Check out jQuery (http://jquery.com/). DOM manipulation is pretty stinkin'
easy with this.
Aug 10 '07 #3
On Aug 10, 11:59 am, Carl Vondrick <ca...@carlsoft.netwrote:
ELINTPimp wrote:
No offense to DHTML, but in my opinion, all that DOM manipulation work
to just have to save the form once the user is complete seems like a
waste of time to me (most of the time).

Check out jQuery (http://jquery.com/). DOM manipulation is pretty stinkin'
easy with this.
Indeed! jquery, prototype (http://www.prototypejs.org/), and
script.aculo.us (http://script.aculo.us/) are all great javaScript
libraries which also have built-in support for AJAX...cakePHP, which I
mentioned before, has helpers available for AJAX too. So, even if you
are using a library, if you have a situation that could benefit from
asynchronous transfers from the web server...not too much added voodoo
to make it AJAX capable. Thus my preference of AJAX over DHTML.

Now, with that said...even though I've been promoting AJAX, most of my
projects typically roll out without much (if any) DOM manipulation,
let alone AJAX. The situation will justify the time spent on a
project. I like to look at it as a cost/benefit angle. If I'm doing
some dynamic client side manipulation, and if AJAX can benefit the
situation, I'll do it every time.
Aug 10 '07 #4
Geocities File Manager has an interesting solution.

You can transfer from 5 to 20 files in a single upload operation. The
default offering is 5, but you specify a number between 1 and 20. It
will present you with that many fields (each field is a file path).

This involves a trip to the server every time you change the count,
since the html is generated by the server and not DHTML. It does seem
to be an efficient approach, simply because you typically know how
many files you are going to upload. And if you ask for more fields
than you use, no problems, it ignores them.

It's not a sexy solution, but it works. I used it on and off for
almost 10 years. It is actually a very nice tool.

Gerard Vignes

Aug 10 '07 #5
I have found another way that I think will be the solution but I don't
know how it really works,
in the CPanel file manager not the geocities, the CPanel file manager
when we upload just after we choose the file needed for uploading the
system automatically starts the process and after it finish the upload
process it opens up the browse button and input path filed once more
without any page load,
if anybody know how this system works please let me know and am sure
this will help the problem of bandwidth and server call.

shror

Aug 12 '07 #6
shror wrote:
I have found another way that I think will be the solution but I don't
know how it really works,
in the CPanel file manager not the geocities, the CPanel file manager
when we upload just after we choose the file needed for uploading the
system automatically starts the process and after it finish the upload
process it opens up the browse button and input path filed once more
without any page load,
if anybody know how this system works please let me know and am sure
this will help the problem of bandwidth and server call.

shror
Not hard to do with a little javascript. But this is a PHP newsgroup.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Aug 12 '07 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Prakash Wadhwani | last post by:
Is there any EASY way to highlight a full row in a continuous form so that as i navigate up & down the table/continuous form using the arrow keys, the entire line (all fields) get highlighted ? ...
3
by: B | last post by:
I know there are several ways to speed up combo boxes and form loading. Most of the solutions leave rowsource of the combo box blank and set the rowsource to a saved query or an SQL with a where...
3
by: Damian | last post by:
Hi. Is there a way to programatically populate a continuous form? I have an array of descriptions that I want to display in the continuous form and I have a textbox on the form called...
3
by: Mark | last post by:
Hi there, I have a subform, set as a continuous form. When a user selects a particular record in that subform, how can I make that particular record stand out (color or font change, size, etc) from...
3
by: David | last post by:
Hi, I need a button shown for each record (cont. form) with specific captions on each. I have a notes form for each record. When a user presses the button they can read the notes. I want to...
3
by: Richard Hollenbeck | last post by:
I have the following query in my form's code: Private Function Get_Data(fieldNum As Integer) Dim strSQL As String Dim db As DAO.Database Dim rs As DAO.Recordset strSQL = "SELECT & "", "" & ...
4
by: Kathy | last post by:
What is the standard technique for handling the fields in the following scenario on a continuous form? Multiple Divisions. Each Division has multiple Buildings. Each Building has a Supervisor. ...
11
by: Doug Bell | last post by:
Hi, I am trying to create form that displays data like an Access continuous dataform rather than using a data grid. I am thinking that I can achieve this by creating a row of text boxes, one...
2
by: Steve | last post by:
I have a continuous form showing Product Code and Product Name. Product Code is five digits and is sequential. I have a textbox in the form header. What is the code to scroll the continuous form so...
8
by: Steffen Beck | last post by:
Hi NG I need some help with a problem on my forms. If I have 2 related tables, for instance companies and employees, and want to display all companies on a continuous form with their...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.