Hello,
I would like to change the value of a form's text field by scriplet, is it
possible, please?
Through Javascript, I can use the form name plus the name of the field, for
example,
myform.address.value='xxx'. I know I can do myform.address.value='%=
something %', where something is a
You might not be asking this, but...
Scriplets execute on the server, not on the client. The results of a
scriplet are in essence inserted into the response.
So in that regard, no, you can't use a scriplet to change the value of a
text field as you would with Javascript because Javascript
I should also mention, you can certainly do something like this:
script
function changeIt() {
myForm.myField.value = %=someValue%;
}
/script
...but that's not much different than just setting the value of the
field with a scriplet. However, if you perhaps have some discrete
values that you
From: Cassius V. de Magalhaes [EMAIL PROTECTED]
Sent: Monday, May 23, 2005 2:56 PM
I would like to change the value of a form's text field by scriplet, is it
possible, please?
Through Javascript, I can use the form name plus the name of the field,
for example,
myform.address.value='xxx'. I