473,387 Members | 1,678 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,387 software developers and data experts.

HTML - Continuous Forms

blyxx86
256 100+
Good Evening Everyone,

I'm not too sure if this can be done without some intensive coding, but what I'm looking to do is seemingly simple.

I am creating some pages with forms and want the various levels within the form to repeat once data is entered into one line.

For example, let's assume we have one drop box and one text field.
Select an Item: *New Drop* Enter New Name: *Blank Field*

However once data is entered I want another line to appear below it.
Select an Item: *TV* Enter New Name: *Television*
Select an Item: *New Drop* Enter New Name: *Blank Field*

Of course this would repeat continuously. The pages are actually .php but that is serverside generation and will not know when the person has entered a value into either box. So maybe this is a job for Java? I hope not, because I don't know Java. Maybe someone can point me in the right direction? Maybe there is already code out there that will do this.

Any help is appreciated!

Thank you,
Kyle
Nov 14 '08 #1
5 4256
acoder
16,027 Expert Mod 8TB
Not Java, but JavaScript - two very different languages. So, yes, it will require JavaScript if you want to avoid a page reload.
Nov 14 '08 #2
blyxx86
256 100+
Java not equal to JavaScript... Got it! That is news to me, I wonder how many times I've called it that and truly thought it was the same. I usually say Javascript when dealing with HTML but I think I was in a hurry to make the post.

I will post in the Javascript forum (not the Java forum) to see if they can help me out there.

Do you have any alternative suggestions to this? I've thought about just having multiple lines to start with or a drop down that allows for more lines to be added, but I was afraid of losing what information had already been typed in.
Nov 14 '08 #3
acoder
16,027 Expert Mod 8TB
If you want to avoid JavaScript, you can add a submit button next to the text box. The problem with this is that you'll need to submit each time you want to add a new drop down and text box.

If you want minimal JavaScript, you can use onchange to trigger a submit.

If you want more control and flexibility, then JavaScript is your best option.
Nov 15 '08 #4
blyxx86
256 100+
Thank you for the advice!

For now, I think I may just use the submit button idea. However, once I am able to sit down for a little while and learn the Javascript needed I will use that.

:)
Dec 2 '08 #5
acoder
16,027 Expert Mod 8TB
OK, no problem. Once you're ready and if you ever get stuck, you can post in the JavaScript forum. Good luck!
Dec 2 '08 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Armando | last post by:
I recently saw the tail end of a "Continuous forms" discussion, but not enough was available to see if this will be a PITA repeat question. Sorry if it is. On a form with its Default View...
6
by: Rose | last post by:
I have set my form's default view property to continuous forms and have added a field for the table columns I wish to view. What do I need to do to allow more than one record to show at the same...
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 & "", "" & ...
9
by: Edwinah63 | last post by:
Hi everyone, Please let there be someone out there who can help. I have two BOUND combo boxes on a continuous form, the second being dependent on the first. I have no problem getting the...
2
by: panwala_bhavesh | last post by:
Thanks in advance... I have a form displaying the results of a query in a continuous form style. I want to be able to double-click on the key field of the form (a textbox, in this case a AssetID)...
5
by: Michael R | last post by:
Searching the net I've found a simple technique to add row numbers and alternate colors (for the even and the uneven row) to a continuous form. 1st step: Create a textbox, send it to background...
1
by: blueheelers | last post by:
I have been researching for several hours on the best way to display images in continous forms in Access 2003. For example, I want to display employee name, email, phone, and picture for each...
1
by: rpboll | last post by:
I am looking for the best way to accomplish the following continuous forms concept. There are Five Groups: A, B, C, D, E Each group has eight Members: a, b, c, d, e, f, g, h Each...
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...
5
by: grahamib | last post by:
I have a form running in access 2003. The forms property is set to continuous forms so that all records from an underlying query can be diaplayed. On the form are 12 sets of fields from...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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...

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.