CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 copy and paste

Print topic Send  topic

Author Message
jimmy cortes
Posted: 04/27/2001, 10:40 AM

This is not a CodeCharge question, but I hope, you can help me by giving me
some ideas. I have a form wich has got some fields on it. on the same page I
have got another one wich manually the user must comple it in some cases
with the information from the other one. Iwant to put a clik button wich
copy and paste the data from one to the text boxes of the other one. Someone
told me JavaScript can do it...? Any Idea...? thanks...
(Can CC do it by itseft?)

jimmy

Walker P.
Posted: 04/27/2001, 12:34 PM

Jimmy,
to implement your desired functionality, you would have to use javascript
based on the buttons 'onClick' event. For instance:

<input type='button', value='copy'
onClick="javascript:document.form.duplicate_textbox.value =
document.form.original_textbox.value;">

If you have multiple textboxes to be copied, you could create a javascript
function to do the processing.

Walker P.
CodeCharge Support


"jimmy cortes" <webmaster@virtuallinksa.com> wrote in message
news:9ccauo$kva$1@mail.tankhill.com...
> This is not a CodeCharge question, but I hope, you can help me by giving
me
> some ideas. I have a form wich has got some fields on it. on the same page
I
> have got another one wich manually the user must comple it in some cases
> with the information from the other one. Iwant to put a clik button wich
> copy and paste the data from one to the text boxes of the other one.
Someone
> told me JavaScript can do it...? Any Idea...? thanks...
> (Can CC do it by itseft?)
>
> jimmy
>
>


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.