If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

yes, you can ad multiple functin calls to an onclick evenet. But, it may not be the most efficient. For example, if validation fails you don't want to continue. So, it wouold make more sense to have one function, if it passes, to call the next function.

I still don't understand why you are copying this to the clipboard. I thought you were using the form to post the data. Also, you could set up a global variable to set the fields and preferences for validation instead of passing all that data in the MM_ValidateForm function.

I dont want to open a new topic, so might you guys can answer my question about a clipboard.

Is it possible to get the image from the clipboard using JS and paste it in the web page?

Maybe I am totally missing something here. But, why do you want to copy data to the clipboard, only to copy it back from the clipboard. There has got to be a better solution. Where exactly are you wanting the information from your form to end up?

yes, you can ad multiple functin calls to an onclick evenet. But, it may not be the most efficient. For example, if validation fails you don't want to continue. So, it wouold make more sense to have one function, if it passes, to call the next function.

I still don't understand why you are copying this to the clipboard. I thought you were using the form to post the data. Also, you could set up a global variable to set the fields and preferences for validation instead of passing all that data in the MM_ValidateForm function.

The only reason I am doing the clipboard thing is cause I need something that I can use starting Monday, then from there I am going to try and get it to post to another program. I only do it this way because I imagined it would be easier that way. but if I can get it to send the information to another program easier by say clicking in a text field in a ticket then going to my template and clicking send, then I'd go that way now instead, but I have no idea where to start on that...I do not program for a living, but I want to and I am so rusty I can hardly remember basic HTML from memory anymore.

I just wish I could get all this wonderful code to work together, standa alone it works fine, but getting the clipboard function to work has been the bane of my existance!

yes, you can ad multiple functin calls to an onclick evenet. But, it may not be the most efficient. For example, if validation fails you don't want to continue. So, it wouold make more sense to have one function, if it passes, to call the next function.

I still don't understand why you are copying this to the clipboard. I thought you were using the form to post the data. Also, you could set up a global variable to set the fields and preferences for validation instead of passing all that data in the MM_ValidateForm function.

See, the simple things pass me like a supersonic jet lately

I hadn't even considered creating a variable to carry all that extra crap...

There has to be a way to copy to clip board in one bit of code. I cannot imagine that the creators of these programming languages haven't made anything like that.

Okay, so I can get all this info into a text area, now, how do I get it into the clipboard? I thought of trying to add somethign like onChange="execCommand('Copy')" to the textarea, but apparently execCommand('Copy') is not a "default" function...*sigh*

I have attached the semi-completed version of my template tool. Still working on how to make it paste into a third party program.

Hi. I stumbled upon your code and am trying to use it for the same purpose of pasting the content on a logging software. below is the code that i created from your original code but it doesnt seem to work...please check on where i went wrong..thanks!

frm.holdtext.value = Template;
Copied=frm.holdtext.createTextRange();
Copied.execCommand('copy');
alert('Information has been copied, right click and select paste or press ctrl+V to paste into Delta');