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

have a tiny questions, related to forms :/

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 1307
izzy
12
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
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
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...
4
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...
0
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...
3
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...
7
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)...
3
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...
0
by: connectrajesh | last post by:
INTERVIEWINFO.NET http://www.interviewinfo.net FREE WEB SITE AND SERVICE FOR JOB SEEKERS /FRESH GRADUATES NO ADVERTISEMENT
2
by: Max2006 | last post by:
Hi, Which newsgroup should I post my questions related to Team Foundation Server 2008? Thank you, Max
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: 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: 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:
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.