Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating forms with javascript 1

Status
Not open for further replies.

gholiath

Programmer
May 9, 2001
3
US
Hello everyone who reads this, im very new to programming, I am recently learning how to use javascript. My problem is the company I work for has forms written in old C all over the place, only problem is, that the returned forms come out like this

First name = John
Last name = Bob

the problem exist that they want the forms to look like this when they come back

John
Bob

OR like this on one line

John Bob

OR even like this would work

Name = John Bob (exception here is that, basically takeing 2 text fields and merging them into 1 text field)

so that on a form that is written such as so:
First Name = ____________
Last Name = ____________

when the above form is returned it will show liek this

Name = John bob

Is this possible to do this with javascript? Or am i looking at another language entirely, if so which one, or is it not possible at all.

Basically they want to be able to copy and paste the returned information into word documents or whatever with just one operation, that way they dont transfer everything over then have to go back and delete all teh unwanted info like first name = and last name =, hopefully whoever reads this understand what i am talkign about. Thanks in advance for any help recieved.
 
I would recommend a good 'ol asp for that. It's MUCH easier to learn then javascript anyway (in my opinion).

Program it in asp, it will be a whole 3 lines, who knows how many lines it will be with javascript.
~Javrix

If you gave an infinate number of rednecks, an infinate number of shotguns to shoot at an infinate number of street signs, they would eventually write Romeo and Juliet in braille.
 
TY Javrix, only problem is and i should have included this also but the targeted website is located on an UNIX server not NT, unless its changed since then, isnt ASP only for NT plateforms?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top