form elements
Hi there,
I have a form with several elements. This form is submitted through a dll-file (yes, that's possible ), but I want to retrieve the formvalues also in an on screen.
Does anyone know how to do this or can anybody give me some hints?
Thanx in advance,
Shakespeare: onclick || !(onclick)
detox posted this at 00:14 — 29th January 2002.
They have: 571 posts
Joined: Feb 2001
I know irt.org had a few threads a while back regarding posting form entries to multiple destinations. Change it on your Onsubmit event maybe, I take it you are reedirecting after form submission anyway. You can have multiple events on the Onsubmit event.
I'll have a look, Suzanne will probably answer this before I get back though!
Jack Michaelson posted this at 09:19 — 29th January 2002.
He has: 1,733 posts
Joined: Dec 1999
Worked it out myself with al littel help from Vincent Puglia.
I post the code for anybody having similar problems:
function PlaceAndSubmitForm()
{
var alles = document.forms[0].elements.length;
var SubmitString ="";
for (i=0; i<alles-2; i++)
{
SubmitString = SubmitString + document.AccoAskMatch.elements[i].name + "=" + document.AccoAskMatch.elements[i].value +"&";
}
parent.waardeframe.waardes.ASKMATCHwaardes.value=SubmitString;
document.form.submit();
}
Thanx
Shakespeare: onclick || !(onclick)
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.