473,788 Members | 2,816 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

have a tiny questions, related to forms :/

1 New Member
heya,

this is actually the first time i visit this forum, but i really wanted to make something.. but i kinda ran out of idea's <_<

with html you can 'fill in' forms by just hitting an extern button...
ill give an example.

Expand|Select|Wrap|Line Numbers
  1. <form  target='frame1' action="www.site.domain" method="post">
  2. <input type="text" size="3" name="number1"  value=""><br>
  3. <input type="text" size="3" name="number2"  value=""><br>
  4. <input type="text" size="3" name="number3"  value=""><br>
  5. <input type="text" size="3" name="number4"  value=""><br>
  6. <input src='some_image.gif' style='border: 0px none ;' type='image'>fill in form<br>
  7. </form>
  8.  
now.. imagine i have to fill in teh exact same value in all 4 fields... is tehre a way i can cut out the 4 text boxes.. and put in only 1 text box... so the 4 'inputs' will search in this 'shared' text box?

the noob that i am.; i jsut tried:
Expand|Select|Wrap|Line Numbers
  1. <form  target='frame1' action="www.site.domain" method="post">
  2. <input type="text" size="3" name="number1" name="number2" name="number3" name="number4"  value=""><br>
  3. <input src='some_image.gif' style='border: 0px none ;' type='image'>fill in form<br>
  4. </form>
  5.  
but ofcoruse.. that will only fill in the 1st value.. and will kinda skip number2, 3 and 4 :(

so.. is there any way i can make 1 text box.. so that all these 'inputs' will first look in that text box, copy the info in it.. and then paste it in the right input ?


also.. i ahve another quetion :/

imagine i have a form, that i want to fill in with teh same idea like above..
BUT.. tehre is 1 text box (on the original site) that has a value already, and this value should be kept :/
if i just leave out this 1 input.. it will fill in nothing, or just a 0 ...and then it will mess up everything :(
imagine the site creates a random number, in 'name=number2' and this number is really important. is tehre any way i can just NOT touch 'number2' but still change the others?

really thank you already :/
i hope this is in the right section... if not.. ill probably never find it again lol :D
if this topic is transferred to somewhere else by accedent.. please be so kind to mail me the link :/ im a real noob :(

thank you already
Sep 3 '06 #1
1 1337
izzy
12 New Member
It is difficult for me to understand your questions, but if you are asking how to copy / paste text from one textbox to another this can be done using JavaScript. HTML does not allow you to do anything programatically as it is a markup language. You can access an HTML document via JavaScript and achieve what I think you are asking. Cheers!
Sep 3 '06 #2

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

Similar topics

2
1416
by: ssoss | last post by:
Hi, Trying to create a registration form for members of organizations. I have three tables, Users user_id, user_name, user_mail, etc. Orgs org_id, org_name, org_description, etc. Locs
27
3042
by: Jatinder | last post by:
I 'm a professional looking for the job.In interview these questions were asked with some others which I answered.But some of them left unanswered.Plz help. Here are some questions on C/C++, OS internals? Q1 . What is the use of pointer to an array? Q2 . What is the use of array of pointers? Q3 . What is the use of pointer to function ? Q4 . How to print through serial port? What is Flow Control(Xon,Xoff) ?
4
4057
by: amywolfie | last post by:
I've been trying to do something for about 3 days – I get close, but not 100%. I am trying to: Open frmRevisionHistory from a button on frmFeeInput. If there is NO RELATED RECORD, then I need to create one in frmRevisionHistory, and pass the PK (PK_Fees) on frmFeeInput to FK_Fees on the 2nd form.
0
2074
by: Henry | last post by:
Using ideas provided by some of you I was able to figure out how to get the names of the parameters fields of a crystal report specified at run time. The code below just basically puts the data into a comboBox. One thing I noticed, however, is that this method shows me both the parameters used by the main report and parameters used by the sub-report(s).
3
1428
by: James dean | last post by:
Is an updated version of Gdi+ being planned to complement the new beta trial version of Visual Studio 2005. Why is GraphicsPath slow? I cannot find good performance information about GDI+, can anyone help me out. Thanks in advance
7
1832
by: Victor S. | last post by:
1. What is System.Windows.Forms.VisualStyles.TextMetricsCharacterSet good for? 2. Are the Indic scripts supported? Are all supported scripts fully supported? (for printing and fine measuring) Is the printing done by GDI++ without using Unicribe? 3. Is the Text.Encoder/Decoder provided by the OS or by the Framework?
3
1815
by: michael_geller | last post by:
While experimenting with binding datasets to an MS DataGridView, I get a warning that tells me that my DataRows are "either undeclared or was never assigned". Assuming that I am reading the documentation correctly, you are supposed to create a DataRow using the "DataTable.NewRow()" method. This is what I do in my app. As a matter of fact, the DataRow constructor appears to be protected so I can't directly create it if I want to. Is...
0
4600
by: connectrajesh | last post by:
INTERVIEWINFO.NET http://www.interviewinfo.net FREE WEB SITE AND SERVICE FOR JOB SEEKERS /FRESH GRADUATES NO ADVERTISEMENT
2
1057
by: Max2006 | last post by:
Hi, Which newsgroup should I post my questions related to Team Foundation Server 2008? Thank you, Max
0
9656
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
10110
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8993
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7517
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6750
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5398
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4069
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3670
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2894
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.